[FFmpeg-cvslog] r18020 - trunk/libavcodec/h264_parser.c
cehoyos
subversion
Mon Mar 16 23:38:28 CET 2009
Author: cehoyos
Date: Mon Mar 16 23:38:27 2009
New Revision: 18020
Log:
Fix SEIs when splitting H264 input.
Patch by John Cox, jc A kynesim D co D uk
Modified:
trunk/libavcodec/h264_parser.c
Modified: trunk/libavcodec/h264_parser.c
==============================================================================
--- trunk/libavcodec/h264_parser.c Mon Mar 16 21:49:52 2009 (r18019)
+++ trunk/libavcodec/h264_parser.c Mon Mar 16 23:38:27 2009 (r18020)
@@ -70,7 +70,7 @@ int ff_h264_find_frame_end(H264Context *
else state>>=1; //2->1, 1->0, 0->0
}else if(state<=5){
int v= buf[i] & 0x1F;
- if(v==7 || v==8 || v==9){
+ if(v==6 || v==7 || v==8 || v==9){
if(pc->frame_start_found){
i++;
goto found;
More information about the ffmpeg-cvslog
mailing list