aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2008-07-11 02:07:57 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-07-11 02:07:57 +0000
commit3a8322b133115276e247951302f30349a0df2ced (patch)
tree84baa3d4aa7c0a948de7d1eb56523f92a19ea63a /libavcodec/h264.c
parent28ce1839179b1c973529230c305f347fe3a80e05 (diff)
downloadffmpeg-3a8322b133115276e247951302f30349a0df2ced.tar.gz
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f8a8b9454a..7cadbee452 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;
}