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

libavformat/rtsp.c:525:17: Unknown value from: non-const function
523.         if (rtsp_st) {
524.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
525.                 rtsp_st->dynamic_handler->close(
                     ^
526.                     rtsp_st->dynamic_protocol_context);
527.         }

libavformat/rtsp.c:531:9: Call
529.     av_free(rt->rtsp_streams);
530.     if (rt->asf_ctx) {
531.         av_close_input_stream (rt->asf_ctx);
             ^
532.         rt->asf_ctx = NULL;
533.     }

libavformat/utils.c:2542:1: <LHS trace>
2540. }
2541. 
2542. void av_close_input_stream(AVFormatContext *s)
      ^
2543. {
2544.     int i;

libavformat/utils.c:2542:1: Parameter `s->nb_programs`
  2540. }
  2541. 
  2542. void av_close_input_stream(AVFormatContext *s)
        ^
  2543. {
  2544.     int i;

libavformat/utils.c:2569:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_stream` 
  2567.         av_free(st);
  2568.     }
  2569.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2570. #if FF_API_OLD_METADATA
  2571.         av_freep(&s->programs[i]->provider_name);
