diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-09 20:37:11 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-21 10:20:52 +0100 |
commit | 6d2b6f21eb45ffbda1103c772060303648714832 (patch) | |
tree | 8f6387d13198b42fa94a8ed06d3be8a46fc0dd22 /libavcodec/h264.c | |
parent | a6931d8ecea17aa232157f89abdbe7afbb93a8db (diff) |
h264: add a parameter to the CABAC macro.
This way it does not look like a constant.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index c81ba5e797..c350f492bd 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3932,7 +3932,7 @@ static int fill_filter_caches(H264Context *h, int mb_type) /* CAVLC 8x8dct requires NNZ values for residual decoding that differ * from what the loop filter needs */ - if (!CABAC && h->pps.transform_8x8_mode) { + if (!CABAC(h) && h->pps.transform_8x8_mode) { if (IS_8x8DCT(top_type)) { nnz_cache[4 + 8 * 0] = nnz_cache[5 + 8 * 0] = (h->cbp_table[top_xy] & 0x4000) >> 12; |