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

libavcodec/mpc8.c:344:66: <LHS trace>
342.                     t = mpc8_get_mask(gb, 18, cnt);
343.                     for(k = 0; k < SAMPLES_PER_BAND / 2; k++, t <<= 1)
344.                         c->Q[ch][off + j + k] = (t & 0x20000) ? (get_bits1(gb) << 1) - 1 : 0;
                                                                      ^
345.                 }
346.                 break;

libavcodec/mpc8.c:344:66: Call
342.                     t = mpc8_get_mask(gb, 18, cnt);
343.                     for(k = 0; k < SAMPLES_PER_BAND / 2; k++, t <<= 1)
344.                         c->Q[ch][off + j + k] = (t & 0x20000) ? (get_bits1(gb) << 1) - 1 : 0;
                                                                      ^
345.                 }
346.                 break;

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/mpc8.c:344:49: Binary operation: ([0, 2] - 1):unsigned32
342.                     t = mpc8_get_mask(gb, 18, cnt);
343.                     for(k = 0; k < SAMPLES_PER_BAND / 2; k++, t <<= 1)
344.                         c->Q[ch][off + j + k] = (t & 0x20000) ? (get_bits1(gb) << 1) - 1 : 0;
                                                     ^
345.                 }
346.                 break;
