parent
c39df1b884
commit
83d6374e0b
@ -0,0 +1,23 @@
|
||||
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) {
|
Loading…
Reference in new issue