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

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

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

libavcodec/get_bits.h:393:1: Parameter `s->index`
  391. }
  392. 
  393. static inline unsigned int get_bits1(GetBitContext *s){
       ^
  394. #ifdef ALT_BITSTREAM_READER
  395.     unsigned int index= s->index;

libavcodec/get_bits.h:395:5: Assignment
  393. static inline unsigned int get_bits1(GetBitContext *s){
  394. #ifdef ALT_BITSTREAM_READER
  395.     unsigned int index= s->index;
           ^
  396.     uint8_t result= s->buffer[ index>>3 ];
  397. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:398:5: Assignment
  396.     uint8_t result= s->buffer[ index>>3 ];
  397. #ifdef ALT_BITSTREAM_READER_LE
  398.     result>>= (index&0x07);
           ^
  399.     result&= 1;
  400. #else

libavcodec/get_bits.h:399:5: Assignment
  397. #ifdef ALT_BITSTREAM_READER_LE
  398.     result>>= (index&0x07);
  399.     result&= 1;
           ^
  400. #else
  401.     result<<= (index&0x07);

libavcodec/get_bits.h:407:5: Assignment
  405.     s->index= index;
  406. 
  407.     return result;
           ^
  408. #else
  409.     return get_bits(s, 1);

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