avcodec/h264_cabac: Tighten allowed coeff_abs range
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Feb 2018 23:32:30 +0000 (00:32 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit878fc42a906d13cd6a78b0820eed75f4fd8e26e5
treebb5e01001b7c2a52c0f599d8f16a0e521a3e1806
parente8fb74c0c9cd3bad7f990b8cf98b56ab54ae3a9c
avcodec/h264_cabac: Tighten allowed coeff_abs range

Fixes: integer overflows
Reported-by: "Xiaohan Wang (王消寒)" <xhwang@chromium.org>
Based on limits in "8.5 Transform coefficient decoding process and picture
construction process prior to deblocking  filter process"

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f26a63c4ee1bdbe21d7ab462cd66f8ba20b14244)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_cabac.c