diff h264.c @ 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 f8b6ec3e5538
children 2bd9df0236e8
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;
     }