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, 15 Feb 2018 03:36:00 +0000 (04:36 +0100)
commitf26a63c4ee1bdbe21d7ab462cd66f8ba20b14244
tree90bd1a7de4f0276c9d3ecd4bbc097aacf793fd54
parentfb580731c1febec44e0f1ec1433f6b3ee89cfe65
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>
libavcodec/h264_cabac.c