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

libavformat/rdt.c:295:9: Call
293. 
294.     if (rdt->rmctx)
295.         av_close_input_stream(rdt->rmctx);
             ^
296.     av_freep(&rdt->mlti_data);
297.     av_free(rdt);

libavformat/utils.c:2260:1: <LHS trace>
2258. }
2259. 
2260. void av_close_input_stream(AVFormatContext *s)
      ^
2261. {
2262.     int i;

libavformat/utils.c:2260:1: Parameter `s->nb_programs`
  2258. }
  2259. 
  2260. void av_close_input_stream(AVFormatContext *s)
        ^
  2261. {
  2262.     int i;

libavformat/utils.c:2284:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_stream` 
  2282.         av_free(st);
  2283.     }
  2284.     for(i=s->nb_programs-1; i>=0; i--) {
                ^
  2285.         av_freep(&s->programs[i]->provider_name);
  2286.         av_freep(&s->programs[i]->name);
