libavcodec/bink.c:636: error: Integer Overflow L2
  (1 - [0, 2]):unsigned32.

libavcodec/bink.c:636:38: <RHS trace>
634.                     } else {
635.                         if (!bits) {
636.                             t = 1 - (get_bits1(gb) << 1);
                                          ^
637.                         } else {
638.                             t = get_bits(gb, bits) | 1 << bits;

libavcodec/bink.c:636:38: Call
634.                     } else {
635.                         if (!bits) {
636.                             t = 1 - (get_bits1(gb) << 1);
                                          ^
637.                         } else {
638.                             t = get_bits(gb, bits) | 1 << bits;

libavcodec/get_bits.h:230:1: Parameter `s->index`
  228. }
  229. 
  230. static inline unsigned int get_bits1(GetBitContext *s){
       ^
  231.     unsigned int index = s->index;
  232.     uint8_t result = s->buffer[index>>3];

libavcodec/get_bits.h:231:5: Assignment
  229. 
  230. static inline unsigned int get_bits1(GetBitContext *s){
  231.     unsigned int index = s->index;
           ^
  232.     uint8_t result = s->buffer[index>>3];
  233. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:234:5: Assignment
  232.     uint8_t result = s->buffer[index>>3];
  233. #ifdef ALT_BITSTREAM_READER_LE
  234.     result >>= index & 7;
           ^
  235.     result &= 1;
  236. #else

libavcodec/get_bits.h:235:5: Assignment
  233. #ifdef ALT_BITSTREAM_READER_LE
  234.     result >>= index & 7;
  235.     result &= 1;
           ^
  236. #else
  237.     result <<= index & 7;

libavcodec/get_bits.h:243:5: Assignment
  241.     s->index = index;
  242. 
  243.     return result;
           ^
  244. }
  245. 

libavcodec/bink.c:636:29: Binary operation: (1 - [0, 2]):unsigned32
634.                     } else {
635.                         if (!bits) {
636.                             t = 1 - (get_bits1(gb) << 1);
                                 ^
637.                         } else {
638.                             t = get_bits(gb, bits) | 1 << bits;
