# HG changeset patch # User reimar # Date 1163853048 0 # Node ID ffaf63b76b55fcca53a80cbaa649efd5ffa0ecfb # Parent 425ff58ad31bf2fb7d583d3589db6ff3f58af65c reinit_video_chain might set sh_video = NULL, so check against that. diff -r 425ff58ad31b -r ffaf63b76b55 mplayer.c --- 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); }