libavcodec/mpc8.c:293: error: Buffer Overrun L3
  Offset: [-1, +oo] Size: 33 by call to `mpc8_get_mask`.

libavcodec/mpc8.c:288:13: Assignment
286.             int mask;
287. 
288.             cnt = 0;
                 ^
289.             for(i = 0; i < maxband; i++)
290.                 if(bands[i].res[0] || bands[i].res[1])

libavcodec/mpc8.c:293:20: Call
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--)
295.                 if(bands[i].res[0] || bands[i].res[1]){

libavcodec/mpc8.c:82:1: Parameter `t`
  80. }
  81. 
  82. static int mpc8_get_mask(BitstreamContext *bc, int size, int t)
      ^
  83. {
  84.     int mask = 0;

libavcodec/mpc8.c:87:17: Call
  85. 
  86.     if(t && t != size)
  87.          mask = mpc8_dec_enum(bc, FFMIN(t, size - t), size);
                      ^
  88.     if((t << 1) > size) mask = ~mask;
  89. 

libavcodec/mpc8.c:57:1: Parameter `n`
    55. }
    56. 
    57. static inline int mpc8_dec_enum(BitstreamContext *bc, int k, int n)
        ^
    58. {
    59.     int bits = 0;

libavcodec/mpc8.c:61:16: Call
    59.     int bits = 0;
    60.     const uint32_t * C = mpc8_cnk[k-1];
    61.     int code = mpc8_dec_base(bc, k, n);
                       ^
    62. 
    63.     do {

libavcodec/mpc8.c:46:1: <Offset trace>
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:46:1: Parameter `n`
      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/mpc8data.h:80:1: <Length trace>
78. };
79. 
80. static const uint8_t mpc8_cnk_len[16][33] =
    ^
81. {
82.     {0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6},

libavcodec/mpc8data.h:80:1: Array declaration
      78. };
      79. 
      80. static const uint8_t mpc8_cnk_len[16][33] =
          ^
      81. {
      82.     {0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6},

libavcodec/mpc8.c:48:15: Array access: Offset: [-1, +oo] Size: 33 by call to `mpc8_get_mask` 
      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;
                        ^
      49.     int code = len ? bitstream_read(bc, len) : 0;
      50. 
