hevc_cabac: decrease CABAC_MAX_BIN
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Nov 2014 07:48:38 +0000 (08:48 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 11 Nov 2014 10:49:54 +0000 (11:49 +0100)
commita6defd1f5b1bffcea7aa00ff379a6602cdaf2d05
tree0f7654ce607d6487e1bc965ff98d230d24bcaa40
parent9e9be5a20c0b36dce1cae11f5f5957886231a764
hevc_cabac: decrease CABAC_MAX_BIN

Prevents shifts with undefined behavior, as no syntax element has a valid
value greater than 1 << 31.

Bug-Id: CID 1206635
libavcodec/hevc_cabac.c