libavcodec/wmv2dec.c:469: error: Buffer Overrun L3
  Offset: [1, +oo] Size: [0, +oo] by call to `ff_msmpeg4_decode_init`.

libavcodec/wmv2dec.c:469:8: Call
467.     }
468. 
469.     if(ff_msmpeg4_decode_init(avctx) < 0)
            ^
470.         return -1;
471. 

libavcodec/msmpeg4.c:1275:9: Global `rl_table.n`
  1273. 
  1274. /* init all vlc decoding tables */
  1275. av_cold int ff_msmpeg4_decode_init(AVCodecContext *avctx)
                ^
  1276. {
  1277.     MpegEncContext *s = avctx->priv_data;

libavcodec/msmpeg4.c:1292:9: Call
  1290.             init_rl(&rl_table[i], static_rl_table_store[i]);
  1291.         }
  1292.         INIT_VLC_RL(rl_table[0], 642);
                ^
  1293.         INIT_VLC_RL(rl_table[1], 1104);
  1294.         INIT_VLC_RL(rl_table[2], 554);

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 `ff_msmpeg4_decode_init` 
      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;
