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

libavformat/rtsp.c:474:17: Unknown value from: non-const function
472.                 url_close(rtsp_st->rtp_handle);
473.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
474.                 rtsp_st->dynamic_handler->close(
                     ^
475.                     rtsp_st->dynamic_protocol_context);
476.         }

libavformat/rtsp.c:480:9: Call
478.     av_free(rt->rtsp_streams);
479.     if (rt->asf_ctx) {
480.         av_close_input_stream (rt->asf_ctx);
             ^
481.         rt->asf_ctx = NULL;
482.     }

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);
