[FFmpeg-cvslog] r14338 - trunk/libavcodec/h264.c

michael subversion
Tue Jul 22 21:30:46 CEST 2008


Author: michael
Date: Tue Jul 22 21:30:45 2008
New Revision: 14338

Log:
Reset frame_num for MMCO 5.
Fixes at least
MR2_TANDBERG_E.264


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Tue Jul 22 21:30:45 2008
@@ -3539,6 +3539,7 @@ static int execute_ref_pic_marking(H264C
                 pic= remove_long(h, j);
                 if(pic) unreference_pic(h, pic, 0);
             }
+            s->current_picture_ptr->frame_num= 0;
             break;
         default: assert(0);
         }




More information about the ffmpeg-cvslog mailing list