comparison libmpdemux/demux_ts.c @ 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 4f9a30caadff
comparison
equal deleted inserted replaced
25975:90207684e2d8 25976:7e297cec88aa
3167 break; 3167 break;
3168 else if(sh_video->format == VIDEO_VC1 && (i==0x10E || i==0x10F)) 3168 else if(sh_video->format == VIDEO_VC1 && (i==0x10E || i==0x10F))
3169 break; 3169 break;
3170 else //H264 3170 else //H264
3171 { 3171 {
3172 if((i & ~0x60) == 0x105) break; 3172 if((i & ~0x60) == 0x105 || (i & ~0x60) == 0x107) break;
3173 } 3173 }
3174 3174
3175 if(!i || !skip_video_packet(d_video)) break; // EOF? 3175 if(!i || !skip_video_packet(d_video)) break; // EOF?
3176 } 3176 }
3177 } 3177 }