diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-01-20 17:24:19 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-01-20 17:24:44 -0500 |
commit | 66c6b5e2a5e6376c4a5c65b1d96fd7a1580bdfcf (patch) | |
tree | 938a87c6bf20a2cacc16aeba6b00d02fe51c18b0 /libavcodec/h264_cavlc.c | |
parent | 8bcfe7f7fd71e5d548c2cd96d33295ff06a5f6c8 (diff) | |
download | ffmpeg-66c6b5e2a5e6376c4a5c65b1d96fd7a1580bdfcf.tar.gz |
Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.
Diffstat (limited to 'libavcodec/h264_cavlc.c')
-rw-r--r-- | libavcodec/h264_cavlc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c index c9d28d0f9b..63d2b3ca34 100644 --- a/libavcodec/h264_cavlc.c +++ b/libavcodec/h264_cavlc.c @@ -989,9 +989,8 @@ decode_intra_mb: } if(cbp&0x30){ - AV_ZERO128(h->mb_chroma_dc); for(chroma_idx=0; chroma_idx<2; chroma_idx++) - if( decode_residual(h, gb, h->mb_chroma_dc[chroma_idx], CHROMA_DC_BLOCK_INDEX+chroma_idx, chroma_dc_scan, NULL, 4) < 0){ + if( decode_residual(h, gb, h->mb + 256 + 16*4*chroma_idx, CHROMA_DC_BLOCK_INDEX+chroma_idx, chroma_dc_scan, NULL, 4) < 0){ return -1; } } |