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

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

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

libavcodec/get_bits.h:259:1: Parameter `s->index`
  257. }
  258. 
  259. static inline unsigned int get_bits1(GetBitContext *s)
       ^
  260. {
  261.     unsigned int index = s->index;

libavcodec/get_bits.h:261:5: Assignment
  259. static inline unsigned int get_bits1(GetBitContext *s)
  260. {
  261.     unsigned int index = s->index;
           ^
  262.     uint8_t result = s->buffer[index>>3];
  263. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:264:5: Assignment
  262.     uint8_t result = s->buffer[index>>3];
  263. #ifdef ALT_BITSTREAM_READER_LE
  264.     result >>= index & 7;
           ^
  265.     result &= 1;
  266. #else

libavcodec/get_bits.h:265:5: Assignment
  263. #ifdef ALT_BITSTREAM_READER_LE
  264.     result >>= index & 7;
  265.     result &= 1;
           ^
  266. #else
  267.     result <<= index & 7;

libavcodec/get_bits.h:276:5: Assignment
  274.     s->index = index;
  275. 
  276.     return result;
           ^
  277. }
  278. 

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