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

libavformat/rtsp.c:753:21: Unknown value from: non-const function
751.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context) {
752.                 if (rtsp_st->dynamic_handler->close)
753.                     rtsp_st->dynamic_handler->close(
                         ^
754.                         rtsp_st->dynamic_protocol_context);
755.                 av_free(rtsp_st->dynamic_protocol_context);

libavformat/rtsp.c:769:9: Call
767.     av_free(rt->rtsp_streams);
768.     if (rt->asf_ctx) {
769.         avformat_close_input(&rt->asf_ctx);
             ^
770.     }
771.     if (CONFIG_RTPDEC && rt->ts)

libavformat/utils.c:2509:1: Parameter `(*ps)->nb_programs`
  2507. }
  2508. 
  2509. void avformat_close_input(AVFormatContext **ps)
        ^
  2510. {
  2511.     AVFormatContext *s = *ps;

libavformat/utils.c:2524:5: Call
  2522.             s->iformat->read_close(s);
  2523. 
  2524.     avformat_free_context(s);
            ^
  2525. 
  2526.     *ps = NULL;

libavformat/utils.c:2477:1: <LHS trace>
2475. }
2476. 
2477. void avformat_free_context(AVFormatContext *s)
      ^
2478. {
2479.     int i;

libavformat/utils.c:2477:1: Parameter `s->nb_programs`
    2475. }
    2476. 
    2477. void avformat_free_context(AVFormatContext *s)
          ^
    2478. {
    2479.     int i;

libavformat/utils.c:2491:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2489.         free_stream(&s->streams[i]);
    2490. 
    2491.     for (i = s->nb_programs - 1; i >= 0; i--) {
                   ^
    2492.         av_dict_free(&s->programs[i]->metadata);
    2493.         av_freep(&s->programs[i]->stream_index);
