diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-01-21 01:24:19 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-21 22:36:01 +0300 |
commit | 772225c041507eba3fd5f9cfcb37d58bfbd579d4 (patch) | |
tree | 9158401dc3dd3d4aea715b9ab27b1016ac5819c9 /libavcodec/h264_cabac.c | |
parent | 2293b0b698ce44d34897cc092bf1eb6b3571b7f8 (diff) |
Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.
(cherry picked from commit 66c6b5e2a5e6376c4a5c65b1d96fd7a1580bdfcf)
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 5aad4d7f58..9c8fc6d232 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1687,10 +1687,9 @@ decode_intra_mb: if( cbp&0x30 ){ int c; - AV_ZERO128(h->mb_chroma_dc); for( c = 0; c < 2; c++ ) { //av_log( s->avctx, AV_LOG_ERROR, "INTRA C%d-DC\n",c ); - decode_cabac_residual_dc(h, h->mb_chroma_dc[c], 3, CHROMA_DC_BLOCK_INDEX+c, chroma_dc_scan, 4); + decode_cabac_residual_dc(h, h->mb + 256 + 16*4*c, 3, CHROMA_DC_BLOCK_INDEX+c, chroma_dc_scan, 4); } } |