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>
Mon, 19 Jun 2017 23:53:29 +0000 (01:53 +0200)
commit312f96053ae552a37c53cb05d788bf1819707d93
tree41dace58330fe1df8a4eb744643b480758d998ab
parente5d9f0c3cd05079118c17a34b743ac0ebfca3389
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