From 3a8322b133115276e247951302f30349a0df2ced Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Fri, 11 Jul 2008 02:07:57 +0000 Subject: [PATCH] H264: Fix decoding with CABAC/delta_qp/PCM macroblocks. Patch by Jason Garrett-Glaser (darkshikari gmail com) Originally committed as revision 14160 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f8a8b9454..7cadbee45 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -5746,6 +5746,7 @@ decode_intra_mb: // 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; } -- 2.34.1