mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 10:02:50 +00: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:
parent
8b4a9db8bc
commit
09be641ba5
@ -4263,7 +4263,7 @@ if(!sh_video) goto main; // audio-only
|
|||||||
|
|
||||||
if(!reinit_video_chain()) {
|
if(!reinit_video_chain()) {
|
||||||
if(!video_out) goto goto_next_file;
|
if(!video_out) goto goto_next_file;
|
||||||
if(!sh_video->inited){
|
if(!sh_video || !sh_video->inited){
|
||||||
if(!sh_audio) goto goto_next_file;
|
if(!sh_audio) goto goto_next_file;
|
||||||
goto main; // exit_player(MSGTR_Exit_error);
|
goto main; // exit_player(MSGTR_Exit_error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user