libavformat/rtpdec_asf.c:112: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `avformat_close_input`.

libavformat/rtpdec_asf.c:105:9: Call
103.         int len = strlen(p) * 6 / 8;
104.         char *buf = av_mallocz(len);
105.         av_base64_decode(buf, p, len);
             ^
106. 
107.         if (rtp_asf_fix_header(buf, len) < 0)

libavutil/base64.c:45:1: Parameter `out->strlen`
  43. };
  44. 
  45. int av_base64_decode(uint8_t *out, const char *in, int out_size)
      ^
  46. {
  47.     int i;

libavformat/rtpdec_asf.c:107:13: Call
105.         av_base64_decode(buf, p, len);
106. 
107.         if (rtp_asf_fix_header(buf, len) < 0)
                 ^
108.             av_log(s, AV_LOG_ERROR,
109.                    "Failed to fix invalid RTSP-MS/ASF min_pktsize\n");

libavformat/rtpdec_asf.c:45:1: Parameter `buf->l`
  43.  * @return 0 on success, <0 on failure (currently -1).
  44.  */
  45. static int rtp_asf_fix_header(uint8_t *buf, int len)
      ^
  46. {
  47.     uint8_t *p = buf, *end = buf + len;

libavformat/rtpdec_asf.c:112:13: Call
110.         init_packetizer(&pb, buf, len);
111.         if (rt->asf_ctx) {
112.             avformat_close_input(&rt->asf_ctx);
                 ^
113.         }
114.         if (!(rt->asf_ctx = avformat_alloc_context()))

libavformat/utils.c:2476:1: Parameter `(*ps)->nb_programs`
  2474. }
  2475. 
  2476. void avformat_close_input(AVFormatContext **ps)
        ^
  2477. {
  2478.     AVFormatContext *s = *ps;

libavformat/utils.c:2491:5: Call
  2489.             s->iformat->read_close(s);
  2490. 
  2491.     avformat_free_context(s);
            ^
  2492. 
  2493.     *ps = NULL;

libavformat/utils.c:2425:1: <LHS trace>
2423. }
2424. 
2425. void avformat_free_context(AVFormatContext *s)
      ^
2426. {
2427.     int i, j;

libavformat/utils.c:2425:1: Parameter `s->nb_programs`
    2423. }
    2424. 
    2425. void avformat_free_context(AVFormatContext *s)
          ^
    2426. {
    2427.     int i, j;

libavformat/utils.c:2458:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2456.         av_free(st);
    2457.     }
    2458.     for (i = s->nb_programs - 1; i >= 0; i--) {
                   ^
    2459.         av_dict_free(&s->programs[i]->metadata);
    2460.         av_freep(&s->programs[i]->stream_index);
