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

libavcodec/wma.c:507:16: <LHS trace>
505.             }
506.         }
507.         sign = get_bits1(gb) - 1;
                    ^
508.         ptr[offset & coef_mask] = (level^sign) - sign;
509.     }

libavcodec/wma.c:507:16: Call
505.             }
506.         }
507.         sign = get_bits1(gb) - 1;
                    ^
508.         ptr[offset & coef_mask] = (level^sign) - sign;
509.     }

libavcodec/get_bits.h:416:1: Parameter `s->index`
  414. }
  415. 
  416. static inline unsigned int get_bits1(GetBitContext *s){
       ^
  417. #ifdef ALT_BITSTREAM_READER
  418.     int index= s->index;

libavcodec/get_bits.h:418:5: Assignment
  416. static inline unsigned int get_bits1(GetBitContext *s){
  417. #ifdef ALT_BITSTREAM_READER
  418.     int index= s->index;
           ^
  419.     uint8_t result= s->buffer[ index>>3 ];
  420. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:421:5: Assignment
  419.     uint8_t result= s->buffer[ index>>3 ];
  420. #ifdef ALT_BITSTREAM_READER_LE
  421.     result>>= (index&0x07);
           ^
  422.     result&= 1;
  423. #else

libavcodec/get_bits.h:422:5: Assignment
  420. #ifdef ALT_BITSTREAM_READER_LE
  421.     result>>= (index&0x07);
  422.     result&= 1;
           ^
  423. #else
  424.     result<<= (index&0x07);

libavcodec/get_bits.h:430:5: Assignment
  428.     s->index= index;
  429. 
  430.     return result;
           ^
  431. #else
  432.     return get_bits(s, 1);

libavcodec/wma.c:507:9: Binary operation: ([0, 1] - 1):unsigned32
505.             }
506.         }
507.         sign = get_bits1(gb) - 1;
             ^
508.         ptr[offset & coef_mask] = (level^sign) - sign;
509.     }
