aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-16 11:51:41 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-16 11:51:41 +0000
commitc19d8bdef215e7ed57b8070bb5d7aeae310b0cbf (patch)
treee5c9b51a1b34703cb4ffdab9f54d772b9ad98de0
parentfc5da18fff49096217471b43c3146bbb64f8968c (diff)
when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26008 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/demux_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c
index f96ee2792d..7689883b30 100644
--- a/libmpdemux/demux_ts.c
+++ b/libmpdemux/demux_ts.c
@@ -3169,7 +3169,7 @@ static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_d
break;
else //H264
{
- if((i & ~0x60) == 0x105) break;
+ if((i & ~0x60) == 0x105 || (i & ~0x60) == 0x107) break;
}
if(!i || !skip_video_packet(d_video)) break; // EOF?