libavcodec/mpc8.c:292: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `mpc8_get_mod_golomb`.

libavcodec/mpc8.c:263:5: Call
261.     }
262.     bitstream_init8(bc, buf, buf_size);
263.     bitstream_skip(bc, c->last_bits_used & 7);
         ^
264. 
265.     if(keyframe)

libavcodec/bitstream.h:241:1: Parameter `n`
  239. 
  240. /* Skip n bits in the buffer. */
  241. static inline void bitstream_skip(BitstreamContext *bc, unsigned n)
       ^
  242. {
  243.     if (n <= bc->bits_left)

libavcodec/bitstream.h:244:9: Call
  242. {
  243.     if (n <= bc->bits_left)
  244.         skip_remaining(bc, n);
               ^
  245.     else {
  246.         n -= bc->bits_left;

libavcodec/bitstream.h:230:1: Parameter `n`
    228. }
    229. 
    230. static inline void skip_remaining(BitstreamContext *bc, unsigned n)
         ^
    231. {
    232. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:237:5: Assignment
    235.     bc->bits <<= n;
    236. #endif
    237.     bc->bits_left -= n;
             ^
    238. }
    239. 

libavcodec/mpc8.c:266:19: Call
264. 
265.     if(keyframe)
266.         maxband = mpc8_get_mod_golomb(bc, c->maxbands + 1);
                       ^
267.     else{
268.         maxband = c->last_max_band + bitstream_read_vlc(bc, band_vlc.table, MPC8_BANDS_BITS, 2);

libavcodec/mpc8.c:76:1: Parameter `bc->bits_left`
  74. }
  75. 
  76. static inline int mpc8_get_mod_golomb(BitstreamContext *bc, int m)
      ^
  77. {
  78.     if(mpc8_cnk_len[0][m] < 1) return 0;

libavcodec/mpc8.c:292:17: Call
290.                 if(bands[i].res[0] || bands[i].res[1])
291.                     cnt++;
292.             t = mpc8_get_mod_golomb(bc, cnt);
                     ^
293.             mask = mpc8_get_mask(bc, cnt, t);
294.             for(i = maxband - 1; i >= 0; i--)

libavcodec/mpc8.c:76:1: Parameter `bc->bits_left`
  74. }
  75. 
  76. static inline int mpc8_get_mod_golomb(BitstreamContext *bc, int m)
      ^
  77. {
  78.     if(mpc8_cnk_len[0][m] < 1) return 0;

libavcodec/mpc8.c:79:12: Call
  77. {
  78.     if(mpc8_cnk_len[0][m] < 1) return 0;
  79.     return mpc8_dec_base(bc, 1, m + 1);
                 ^
  80. }
  81. 

libavcodec/mpc8.c:46:1: Parameter `bc->bits_left`
    44. static const int quant_offsets[6] = { MPC8_Q5_OFFSET, MPC8_Q6_OFFSET, MPC8_Q7_OFFSET, MPC8_Q8_OFFSET };
    45. 
    46. static inline int mpc8_dec_base(BitstreamContext *bc, int k, int n)
        ^
    47. {
    48.     int len = mpc8_cnk_len[k-1][n-1] - 1;

libavcodec/mpc8.c:52:31: Call
    50. 
    51.     if (code >= mpc8_cnk_lost[k-1][n-1])
    52.         code = ((code << 1) | bitstream_read_bit(bc)) - mpc8_cnk_lost[k - 1][n - 1];
                                      ^
    53. 
    54.     return code;

libavcodec/bitstream.h:145:1: Parameter `bc->bits_left`
      143. 
      144. /* Return one bit from the buffer. */
      145. static inline unsigned bitstream_read_bit(BitstreamContext *bc)
           ^
      146. {
      147.     if (!bc->bits_left)

libavcodec/bitstream.h:150:12: Call
      148.         refill_64(bc);
      149. 
      150.     return get_val(bc, 1);
                      ^
      151. }
      152. 

libavcodec/bitstream.h:130:1: <LHS trace>
128. }
129. 
130. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
     ^
131. {
132. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:130:1: Parameter `bc->bits_left`
        128. }
        129. 
        130. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
             ^
        131. {
        132. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:130:1: <RHS trace>
128. }
129. 
130. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
     ^
131. {
132. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:130:1: Parameter `n`
        128. }
        129. 
        130. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
             ^
        131. {
        132. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:139:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `mpc8_get_mod_golomb` 
        137.     bc->bits <<= n;
        138. #endif
        139.     bc->bits_left -= n;
                 ^
        140. 
        141.     return ret;
