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

libavcodec/wma.c:511:20: <LHS trace>
509.                 }
510.             }
511.             sign = get_bits1(gb) - 1;
                        ^
512.             ptr[offset & coef_mask] = (level^sign) - sign;
513.         }

libavcodec/wma.c:511:20: Call
509.                 }
510.             }
511.             sign = get_bits1(gb) - 1;
                        ^
512.             ptr[offset & coef_mask] = (level^sign) - sign;
513.         }

libavcodec/get_bits.h:311:1: Parameter `s->index`
  309. }
  310. 
  311. static inline unsigned int get_bits1(GetBitContext *s){
       ^
  312. #ifdef ALT_BITSTREAM_READER
  313.     unsigned int index = s->index;

libavcodec/get_bits.h:313:5: Assignment
  311. static inline unsigned int get_bits1(GetBitContext *s){
  312. #ifdef ALT_BITSTREAM_READER
  313.     unsigned int index = s->index;
           ^
  314.     uint8_t result = s->buffer[index>>3];
  315. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:316:5: Assignment
  314.     uint8_t result = s->buffer[index>>3];
  315. #ifdef ALT_BITSTREAM_READER_LE
  316.     result >>= index & 7;
           ^
  317.     result &= 1;
  318. #else

libavcodec/get_bits.h:317:5: Assignment
  315. #ifdef ALT_BITSTREAM_READER_LE
  316.     result >>= index & 7;
  317.     result &= 1;
           ^
  318. #else
  319.     result <<= index & 7;

libavcodec/get_bits.h:325:5: Assignment
  323.     s->index = index;
  324. 
  325.     return result;
           ^
  326. #else
  327.     return get_bits(s, 1);

libavcodec/wma.c:511:13: Binary operation: ([0, 1] - 1):unsigned32
509.                 }
510.             }
511.             sign = get_bits1(gb) - 1;
                 ^
512.             ptr[offset & coef_mask] = (level^sign) - sign;
513.         }
