mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
check sh_video before seeking; closes cid 56
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17822 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -752,6 +752,7 @@ void demux_seek_mpg(demuxer_t *demuxer,float rel_seek_secs,float audio_delay, in
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if(!sh_video) break;
|
||||
i=sync_video_packet(d_video);
|
||||
if(sh_video->format == 0x10000004) { //mpeg4
|
||||
if(i==0x1B6) { //vop (frame) startcode
|
||||
|
||||
Reference in New Issue
Block a user