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

libavformat/rtsp.c:730:21: Unknown value from: non-const function
728.             if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context) {
729.                 if (rtsp_st->dynamic_handler->free)
730.                     rtsp_st->dynamic_handler->free(
                         ^
731.                         rtsp_st->dynamic_protocol_context);
732.                 else

libavformat/rtsp.c:747:9: Call
745.     av_free(rt->rtsp_streams);
746.     if (rt->asf_ctx) {
747.         avformat_close_input(&rt->asf_ctx);
             ^
748.     }
749.     if (CONFIG_RTPDEC && rt->ts)

libavformat/utils.c:2487:1: Parameter `(*ps)->nb_programs`
  2485. }
  2486. 
  2487. void avformat_close_input(AVFormatContext **ps)
        ^
  2488. {
  2489.     AVFormatContext *s = *ps;

libavformat/utils.c:2502:5: Call
  2500.             s->iformat->read_close(s);
  2501. 
  2502.     avformat_free_context(s);
            ^
  2503. 
  2504.     *ps = NULL;

libavformat/utils.c:2433:1: <LHS trace>
2431. }
2432. 
2433. void avformat_free_context(AVFormatContext *s)
      ^
2434. {
2435.     int i, j;

libavformat/utils.c:2433:1: Parameter `s->nb_programs`
    2431. }
    2432. 
    2433. void avformat_free_context(AVFormatContext *s)
          ^
    2434. {
    2435.     int i, j;

libavformat/utils.c:2469:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_close_input` 
    2467.         av_free(st);
    2468.     }
    2469.     for (i = s->nb_programs - 1; i >= 0; i--) {
                   ^
    2470.         av_dict_free(&s->programs[i]->metadata);
    2471.         av_freep(&s->programs[i]->stream_index);
