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

libavformat/rtpdec_asf.c:104:9: Call
102.         int len = strlen(p) * 6 / 8;
103.         char *buf = av_mallocz(len);
104.         av_base64_decode(buf, p, len);
             ^
105. 
106.         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:106:13: Call
104.         av_base64_decode(buf, p, len);
105. 
106.         if (rtp_asf_fix_header(buf, len) < 0)
                 ^
107.             av_log(s, AV_LOG_ERROR,
108.                    "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:111:13: Call
109.         init_packetizer(&pb, buf, len);
110.         if (rt->asf_ctx) {
111.             avformat_close_input(&rt->asf_ctx);
                 ^
112.         }
113.         if (!(rt->asf_ctx = avformat_alloc_context()))

libavformat/utils.c:2694:1: Parameter `(*ps)->nb_programs`
  2692. #endif
  2693. 
  2694. void avformat_close_input(AVFormatContext **ps)
        ^
  2695. {
  2696.     AVFormatContext *s = *ps;

libavformat/utils.c:2702:5: Call
  2700.     if (s->iformat->read_close)
  2701.         s->iformat->read_close(s);
  2702.     avformat_free_context(s);
            ^
  2703.     *ps = NULL;
  2704.     if (pb)

libavformat/utils.c:2645:1: <LHS trace>
2643. #endif
2644. 
2645. void avformat_free_context(AVFormatContext *s)
      ^
2646. {
2647.     int i;

libavformat/utils.c:2645:1: Parameter `s->nb_programs`
    2643. #endif
    2644. 
    2645. void avformat_free_context(AVFormatContext *s)
          ^
    2646. {
    2647.     int i;

libavformat/utils.c:2670:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2668.         av_free(st);
    2669.     }
    2670.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2671.         av_dict_free(&s->programs[i]->metadata);
    2672.         av_freep(&s->programs[i]->stream_index);
