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

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

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

libavformat/utils.c:2557:1: Parameter `s->nb_programs`
  2555. }
  2556. 
  2557. void av_close_input_stream(AVFormatContext *s)
        ^
  2558. {
  2559.     flush_packet_queue(s);

libavformat/utils.c:2562:5: Call
  2560.     if (s->iformat->read_close)
  2561.         s->iformat->read_close(s);
  2562.     avformat_free_context(s);
            ^
  2563. }
  2564. 

libavformat/utils.c:2565:1: <LHS trace>
2563. }
2564. 
2565. void avformat_free_context(AVFormatContext *s)
      ^
2566. {
2567.     int i;

libavformat/utils.c:2565:1: Parameter `s->nb_programs`
    2563. }
    2564. 
    2565. void avformat_free_context(AVFormatContext *s)
          ^
    2566. {
    2567.     int i;

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