changeset 7237:9a5cdba22eeb libavcodec

H264: Fix decoding with CABAC/delta_qp/PCM macroblocks. Patch by Jason Garrett-Glaser (darkshikari gmail com)
author astrange
date Fri, 11 Jul 2008 02:07:57 +0000
parents 6c1244ad5620
children 08cc6e202aa6
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Jul 10 11:52:51 2008 +0000
+++ b/h264.c	Fri Jul 11 02:07:57 2008 +0000
@@ -5746,6 +5746,7 @@
         // All coeffs are present
         memset(h->non_zero_count[mb_xy], 16, 16);
         s->current_picture.mb_type[mb_xy]= mb_type;
+        h->last_qscale_diff = 0;
         return 0;
     }