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

michael subversion
Thu Jul 24 02:45:19 CEST 2008


Author: michael
Date: Thu Jul 24 02:45:18 2008
New Revision: 14354

Log:
Reset prev_frame_num for idr frames as required by the spec.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Jul 24 02:45:18 2008
@@ -3303,6 +3303,7 @@ static void idr(H264Context *h){
         h->short_ref[i]= NULL;
     }
     h->short_ref_count=0;
+    h->prev_frame_num= 0;
 }
 
 /* forget old pics after a seek */




More information about the ffmpeg-cvslog mailing list