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

libavformat/sapdec.c:52:9: Call
50.     struct SAPState *sap = s->priv_data;
51.     if (sap->sdp_ctx)
52.         av_close_input_stream(sap->sdp_ctx);
            ^
53.     if (sap->ann_fd)
54.         url_close(sap->ann_fd);

libavformat/utils.c:2453:1: <LHS trace>
2451. }
2452. 
2453. void av_close_input_stream(AVFormatContext *s)
      ^
2454. {
2455.     int i;

libavformat/utils.c:2453:1: Parameter `s->nb_programs`
  2451. }
  2452. 
  2453. void av_close_input_stream(AVFormatContext *s)
        ^
  2454. {
  2455.     int i;

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