avcodec/cabac_functions: Fix "left shift of negative value -31767"
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 27 Nov 2015 11:11:29 +0000 (12:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 14 Dec 2015 15:51:00 +0000 (16:51 +0100)
commit1258bdf7f0985ec489e2767a1a633bb47ceecc92
tree71e0e502e295e356df7994aeca9b616fcc36be6c
parent54e94522b899111dd4b9f93386d582d26859ead5
avcodec/cabac_functions: Fix "left shift of negative value -31767"

Fixes: 1430e9c43fae47a24c179c7c54f94918/signal_sigsegv_421427_2340_591e9810c7b09efe501ad84638c9e9f8.264

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Found-by: xiedingbao (Ticket4727)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a1f6b05f5228979dab0e149deca7a30d22e98af5)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cabac_functions.h