Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-09 23:37:11 +0400
committerAnton Khirnov <anton@khirnov.net>2013-03-21 13:20:52 +0400
commit6d2b6f21eb45ffbda1103c772060303648714832 (patch)
tree8f6387d13198b42fa94a8ed06d3be8a46fc0dd22 /libavcodec/h264.c
parenta6931d8ecea17aa232157f89abdbe7afbb93a8db (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.c2
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;