mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00: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:
parent
4a8bf87b5c
commit
c164e2dd44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user