You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
699 B
24 lines
699 B
commit b2dce9463216e55484918caa553604b44dfd3f11
|
|
Author: reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
|
|
Date: Fri Apr 15 20:41:40 2011 +0000
|
|
|
|
Avoid crash when pausing an audio-only file.
|
|
|
|
|
|
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@33268 b3059339-0415-0410-9bf9-f77b7e298cf2
|
|
|
|
diff --git a/mplayer.c b/mplayer.c
|
|
index 22d3baf..c946b4a 100644
|
|
--- a/mplayer.c
|
|
+++ b/mplayer.c
|
|
@@ -2539,7 +2539,8 @@ static void pause_loop(void)
|
|
}
|
|
}
|
|
#endif
|
|
- handle_udp_master(mpctx->sh_video->pts);
|
|
+ if (mpctx->sh_video)
|
|
+ handle_udp_master(mpctx->sh_video->pts);
|
|
usec_sleep(20000);
|
|
}
|
|
if (cmd && cmd->id == MP_CMD_PAUSE) {
|