changeset 7362:443fdc440854 libavcodec

Reset prev_frame_num for idr frames as required by the spec.
author michael
date Thu, 24 Jul 2008 00:45:18 +0000
parents f749afdac1e4
children d346c4da00bd
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Wed Jul 23 17:24:11 2008 +0000
+++ b/h264.c	Thu Jul 24 00:45:18 2008 +0000
@@ -3303,6 +3303,7 @@
         h->short_ref[i]= NULL;
     }
     h->short_ref_count=0;
+    h->prev_frame_num= 0;
 }
 
 /* forget old pics after a seek */