libavcodec/mpeg4videodec.c:2211: error: Buffer Overrun L3
  Offset: [1, +oo] Size: [0, +oo] by call to `init_vlc_sparse`.

libavcodec/mpeg4videodec.c:2208:9: Call
2206.         done = 1;
2207. 
2208.         init_rl(&ff_mpeg4_rl_intra, ff_mpeg4_static_rl_table_store[0]);
              ^
2209.         init_rl(&rvlc_rl_inter, ff_mpeg4_static_rl_table_store[1]);
2210.         init_rl(&rvlc_rl_intra, ff_mpeg4_static_rl_table_store[2]);

libavcodec/mpegvideo.c:762:1: Parameter `rl->n`
  760. }
  761. 
  762. void init_rl(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3])
       ^
  763. {
  764.     int8_t max_level[MAX_RUN+1], max_run[MAX_LEVEL+1];

libavcodec/mpeg4videodec.c:2211:9: Call
2209.         init_rl(&rvlc_rl_inter, ff_mpeg4_static_rl_table_store[1]);
2210.         init_rl(&rvlc_rl_intra, ff_mpeg4_static_rl_table_store[2]);
2211.         INIT_VLC_RL(ff_mpeg4_rl_intra, 554);
              ^
2212.         INIT_VLC_RL(rvlc_rl_inter, 1072);
2213.         INIT_VLC_RL(rvlc_rl_intra, 1072);

libavcodec/bitstream.c:272:1: Parameter `nb_codes`
  270.    with av_free_static(), 0 if free_vlc() will be used.
  271. */
  272. int init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
       ^
  273.              const void *bits, int bits_wrap, int bits_size,
  274.              const void *codes, int codes_wrap, int codes_size,

libavcodec/bitstream.c:278:17: Array declaration
  276.              int flags)
  277. {
  278.     VLCcode buf[nb_codes];
                       ^
  279.     int i, j;
  280. 

libavcodec/bitstream.c:322:9: Call
  320.     nb_codes = j;
  321. 
  322.     if (build_table(vlc, nb_bits, nb_codes, buf, flags) < 0) {
               ^
  323.         av_freep(&vlc->table);
  324.         return -1;

libavcodec/bitstream.c:155:1: <Offset trace>
153.  *                       Sorting by VLCcode.code is sufficient, though not necessary.
154.  */
155. static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
     ^
156.                        VLCcode *codes, int flags)
157. {

libavcodec/bitstream.c:155:1: Parameter `nb_codes`
    153.  *                       Sorting by VLCcode.code is sufficient, though not necessary.
    154.  */
    155. static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
         ^
    156.                        VLCcode *codes, int flags)
    157. {

libavcodec/bitstream.c:155:1: <Length trace>
153.  *                       Sorting by VLCcode.code is sufficient, though not necessary.
154.  */
155. static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
     ^
156.                        VLCcode *codes, int flags)
157. {

libavcodec/bitstream.c:155:1: Parameter `*codes`
    153.  *                       Sorting by VLCcode.code is sufficient, though not necessary.
    154.  */
    155. static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
         ^
    156.                        VLCcode *codes, int flags)
    157. {

libavcodec/bitstream.c:216:21: Array access: Offset: [1, +oo] Size: [0, +oo] by call to `init_vlc_sparse` 
    214.             codes[i].code = code << table_nb_bits;
    215.             for (k = i+1; k < nb_codes; k++) {
    216.                 n = codes[k].bits - table_nb_bits;
                             ^
    217.                 if (n <= 0)
    218.                     break;
