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

libavformat/rtsp.c:1204:19: Unknown value from: strchr
1202. 
1203.     /* search for options */
1204.     option_list = strchr(path, '?');
                        ^
1205.     if (option_list) {
1206.         filename = strchr(s->filename, '?');

libavformat/rtsp.c:1340:5: Call
1338.     return 0;
1339.  fail:
1340.     rtsp_close_streams(rt);
          ^
1341.     av_freep(&content);
1342.     url_close(rt->rtsp_hd);

libavformat/rtsp.c:885:1: Parameter `rt->asf_ctx->nb_programs`
  883. 
  884. /* close and free RTSP streams */
  885. static void rtsp_close_streams(RTSPState *rt)
       ^
  886. {
  887.     int i;

libavformat/rtsp.c:907:9: Call
  905.     av_free(rt->rtsp_streams);
  906.     if (rt->asf_ctx) {
  907.         av_close_input_stream (rt->asf_ctx);
               ^
  908.         rt->asf_ctx = NULL;
  909.     }

libavformat/utils.c:2323:1: <LHS trace>
2321. }
2322. 
2323. void av_close_input_stream(AVFormatContext *s)
      ^
2324. {
2325.     int i;

libavformat/utils.c:2323:1: Parameter `s->nb_programs`
    2321. }
    2322. 
    2323. void av_close_input_stream(AVFormatContext *s)
          ^
    2324. {
    2325.     int i;

libavformat/utils.c:2347:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `rtsp_close_streams` 
    2345.         av_free(st);
    2346.     }
    2347.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2348. #if LIBAVFORMAT_VERSION_INT < (53<<16)
    2349.         av_freep(&s->programs[i]->provider_name);
