changeset 25976:7e297cec88aa

when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
author nicodvb
date Sat, 16 Feb 2008 11:51:41 +0000
parents 90207684e2d8
children e3be2de66969
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat Feb 16 11:02:04 2008 +0000
+++ b/libmpdemux/demux_ts.c	Sat Feb 16 11:51:41 2008 +0000
@@ -3169,7 +3169,7 @@
 			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?