1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

reinit_video_chain might set sh_video = NULL, so check against that.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21014 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-11-18 12:30:48 +00:00
parent 8b4a9db8bc
commit 09be641ba5

View File

@ -4263,7 +4263,7 @@ if(!sh_video) goto main; // audio-only
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);
}