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

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

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

libavcodec/get_bits.h:271:1: Parameter `s->index`
  269. }
  270. 
  271. static inline unsigned int get_bits1(GetBitContext *s)
       ^
  272. {
  273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: Assignment
  271. static inline unsigned int get_bits1(GetBitContext *s)
  272. {
  273.     unsigned int index = s->index;
           ^
  274.     uint8_t result     = s->buffer[index >> 3];
  275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:276:5: Assignment
  274.     uint8_t result     = s->buffer[index >> 3];
  275. #ifdef BITSTREAM_READER_LE
  276.     result >>= index & 7;
           ^
  277.     result  &= 1;
  278. #else

libavcodec/get_bits.h:277:5: Assignment
  275. #ifdef BITSTREAM_READER_LE
  276.     result >>= index & 7;
  277.     result  &= 1;
           ^
  278. #else
  279.     result <<= index & 7;

libavcodec/get_bits.h:288:5: Assignment
  286.     s->index = index;
  287. 
  288.     return result;
           ^
  289. }
  290. 

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