Mercurial > mplayer.hg
diff mplayer.c @ 20998:ffaf63b76b55
reinit_video_chain might set sh_video = NULL, so check against that.
author | reimar |
---|---|
date | Sat, 18 Nov 2006 12:30:48 +0000 |
parents | 2422495f5e78 |
children | cc3cbc7985f1 |
line wrap: on
line diff
--- a/mplayer.c Sat Nov 18 12:26:04 2006 +0000 +++ b/mplayer.c Sat Nov 18 12:30:48 2006 +0000 @@ -4263,7 +4263,7 @@ if(!reinit_video_chain()) { if(!video_out) goto goto_next_file; - if(!sh_video->inited){ + if(!sh_video || !sh_video->inited){ if(!sh_audio) goto goto_next_file; goto main; // exit_player(MSGTR_Exit_error); }