libavcodec/wmaprodec.c:844: error: Integer Overflow L2
  ([0, 1] - 1):unsigned32.

libavcodec/wmaprodec.c:844:33: <LHS trace>
842.         for (i = 0; i < 4; i++) {
843.             if (vals[i]) {
844.                 uint32_t sign = get_bits1(&s->gb) - 1;
                                     ^
845.                 AV_WN32A(&ci->coeffs[cur_coeff], vals[i] ^ sign << 31);
846.                 num_zeros = 0;

libavcodec/wmaprodec.c:844:33: Call
842.         for (i = 0; i < 4; i++) {
843.             if (vals[i]) {
844.                 uint32_t sign = get_bits1(&s->gb) - 1;
                                     ^
845.                 AV_WN32A(&ci->coeffs[cur_coeff], vals[i] ^ sign << 31);
846.                 num_zeros = 0;

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/wmaprodec.c:844:17: Binary operation: ([0, 1] - 1):unsigned32
842.         for (i = 0; i < 4; i++) {
843.             if (vals[i]) {
844.                 uint32_t sign = get_bits1(&s->gb) - 1;
                     ^
845.                 AV_WN32A(&ci->coeffs[cur_coeff], vals[i] ^ sign << 31);
846.                 num_zeros = 0;
