diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-21 12:58:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-21 12:58:00 +0100 |
commit | 92656787cfeaf28af368bd4c20ffbaedc8ad3ca9 (patch) | |
tree | e02cc36e4c072e410ff7252b5599f56f186623ed /libavcodec/h264_cabac.c | |
parent | bf4d0f8328c8f64611ca44a6ffdc30ca4f028249 (diff) | |
parent | 6d2b6f21eb45ffbda1103c772060303648714832 (diff) | |
download | ffmpeg-92656787cfeaf28af368bd4c20ffbaedc8ad3ca9.tar.gz |
Merge commit '6d2b6f21eb45ffbda1103c772060303648714832'
* commit '6d2b6f21eb45ffbda1103c772060303648714832':
h264: add a parameter to the CABAC macro.
h264: add a parameter to the FIELD_OR_MBAFF_PICTURE macro.
Conflicts:
libavcodec/h264.c
libavcodec/h264_cabac.c
libavcodec/h264_cavlc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 55a0618d42..6f7224e013 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -25,7 +25,7 @@ * @author Michael Niedermayer <michaelni@gmx.at> */ -#define CABAC 1 +#define CABAC(h) 1 #define UNCHECKED_BITSTREAM_READER 1 #include "config.h" @@ -2310,7 +2310,7 @@ decode_intra_mb: } } if (h->top_type && !IS_8x8DCT(h->top_type)){ - uint32_t top_empty = CABAC && !IS_INTRA(mb_type) ? 0 : 0x40404040; + uint32_t top_empty = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 0x40404040; AV_WN32A(&nnz_cache[4+8* 0], top_empty); AV_WN32A(&nnz_cache[4+8* 5], top_empty); AV_WN32A(&nnz_cache[4+8*10], top_empty); |