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

libavformat/rtp_asf.c:106:9: Call
104.             av_log(s, AV_LOG_ERROR,
105.                    "Failed to fix invalid RTSP-MS/ASF min_pktsize\n");
106.         init_packetizer(&pb, buf, len);
             ^
107.         if (rt->asf_ctx) {
108.             av_close_input_stream(rt->asf_ctx);

libavformat/rtp_asf.c:87:5: Call
  85. static void init_packetizer(ByteIOContext *pb, uint8_t *buf, int len)
  86. {
  87.     init_put_byte(pb, buf, len, 0, NULL, packetizer_read, NULL, NULL);
          ^
  88. 
  89.     /* this "fills" the buffer with its current content */

libavformat/aviobuf.c:35:1: Parameter `opaque->flags`
    33. #endif
    34. 
    35. int init_put_byte(ByteIOContext *s,
        ^
    36.                   unsigned char *buffer,
    37.                   int buffer_size,

libavformat/aviobuf.c:48:5: Call
    46.     s->buf_ptr = buffer;
    47.     s->opaque = opaque;
    48.     url_resetbuf(s, write_flag ? URL_WRONLY : URL_RDONLY);
            ^
    49.     s->write_packet = write_packet;
    50.     s->read_packet = read_packet;

libavformat/aviobuf.c:590:1: Parameter `flags`
      588. 
      589. #if LIBAVFORMAT_VERSION_MAJOR < 53
      590. int url_resetbuf(ByteIOContext *s, int flags)
           ^
      591. #else
      592. static int url_resetbuf(ByteIOContext *s, int flags)

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

libavformat/utils.c:2321:1: <LHS trace>
2319. }
2320. 
2321. void av_close_input_stream(AVFormatContext *s)
      ^
2322. {
2323.     int i;

libavformat/utils.c:2321:1: Parameter `s->nb_programs`
  2319. }
  2320. 
  2321. void av_close_input_stream(AVFormatContext *s)
        ^
  2322. {
  2323.     int i;

libavformat/utils.c:2345:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_stream` 
  2343.         av_free(st);
  2344.     }
  2345.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2346. #if LIBAVFORMAT_VERSION_INT < (53<<16)
  2347.         av_freep(&s->programs[i]->provider_name);
