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

libavformat/rtsp.c:601:17: Unknown value from: non-const function
599.                 url_close(rtsp_st->rtp_handle);
600.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
601.                 rtsp_st->dynamic_handler->close(
                     ^
602.                     rtsp_st->dynamic_protocol_context);
603.         }

libavformat/rtsp.c:607:9: Call
605.     av_free(rt->rtsp_streams);
606.     if (rt->asf_ctx) {
607.         av_close_input_stream (rt->asf_ctx);
             ^
608.         rt->asf_ctx = NULL;
609.     }

libavformat/utils.c:2348:1: <LHS trace>
2346. }
2347. 
2348. void av_close_input_stream(AVFormatContext *s)
      ^
2349. {
2350.     int i;

libavformat/utils.c:2348:1: Parameter `s->nb_programs`
  2346. }
  2347. 
  2348. void av_close_input_stream(AVFormatContext *s)
        ^
  2349. {
  2350.     int i;

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