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

libavformat/rtpdec_asf.c:102:9: Call
100.         int len = strlen(p) * 6 / 8;
101.         char *buf = av_mallocz(len);
102.         av_base64_decode(buf, p, len);
             ^
103. 
104.         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, v;

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

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

libavformat/rtpdec_asf.c:109:13: Call
107.         init_packetizer(&pb, buf, len);
108.         if (rt->asf_ctx) {
109.             av_close_input_stream(rt->asf_ctx);
                 ^
110.             rt->asf_ctx = NULL;
111.         }

libavformat/utils.c:2445:1: <LHS trace>
2443. }
2444. 
2445. void av_close_input_stream(AVFormatContext *s)
      ^
2446. {
2447.     int i;

libavformat/utils.c:2445:1: Parameter `s->nb_programs`
  2443. }
  2444. 
  2445. void av_close_input_stream(AVFormatContext *s)
        ^
  2446. {
  2447.     int i;

libavformat/utils.c:2469:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_stream` 
  2467.         av_free(st);
  2468.     }
  2469.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2470. #if LAVF_API_OLD_METADATA
  2471.         av_freep(&s->programs[i]->provider_name);
