avcodec/h264_cabac: Fix CABAC+8x8dct in 4:4:4
authorAnton Mitrofanov <BugMaster@narod.ru>
Tue, 30 May 2017 23:37:41 +0000 (02:37 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 23 Aug 2017 11:15:18 +0000 (13:15 +0200)
commita599754e7e72de2c946a27ce35f646b0359c20b6
tree948379cc605e5a893a1e90412b47a4f55e86264c
parentd811126c617d1f5d5ba1f8c9acc79048e01a6845
avcodec/h264_cabac: Fix CABAC+8x8dct in 4:4:4

Use the correct ctxIdxInc calculation for coded_block_flag.
Keep old behavior for old versions of x264 for backward compatibility.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 840b41b2a643fc8f0617c0370125a19c02c6b586)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_cabac.c