# HG changeset patch # User alex # Date 1022326829 0 # Node ID 7e769ea2acc717c61cc28991a4fe1919eabdd1f1 # Parent 47297acadbfbbf4ccba0020160033825f485483d jump to next file (or exit) if can't decode audio && video diff -r 47297acadbfb -r 7e769ea2acc7 mplayer.c --- a/mplayer.c Sat May 25 11:08:53 2002 +0000 +++ b/mplayer.c Sat May 25 11:40:29 2002 +0000 @@ -1444,6 +1444,9 @@ uninit_player(INITED_VO); } +if (!sh_video && !sh_audio) + goto goto_next_file; + if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf! if(force_fps){ vo_fps = sh_video->fps=force_fps;