libavformat/applehttp.c:133: error: Integer Overflow L1
  ([-oo, 0] - 1):unsigned32 by call to `av_close_input_file`.

libavformat/applehttp.c:132:13: Assignment
130.             url_fclose(var->pb);
131.         if (var->ctx) {
132.             var->ctx->pb = NULL;
                 ^
133.             av_close_input_file(var->ctx);
134.         }

libavformat/applehttp.c:133:13: Call
131.         if (var->ctx) {
132.             var->ctx->pb = NULL;
133.             av_close_input_file(var->ctx);
                 ^
134.         }
135.         av_free(var);

libavformat/utils.c:2493:1: Parameter `s->nb_chapters`
  2491. }
  2492. 
  2493. void av_close_input_file(AVFormatContext *s)
        ^
  2494. {
  2495.     ByteIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;

libavformat/utils.c:2496:5: Call
  2494. {
  2495.     ByteIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;
  2496.     av_close_input_stream(s);
            ^
  2497.     if (pb)
  2498.         url_fclose(pb);

libavformat/utils.c:2445:1: <LHS trace>
2443. }
2444. 
2445. void av_close_input_stream(AVFormatContext *s)
      ^
2446. {
2447.     int i;

libavformat/utils.c:2445:1: Parameter `s->nb_chapters`
    2443. }
    2444. 
    2445. void av_close_input_stream(AVFormatContext *s)
          ^
    2446. {
    2447.     int i;

libavformat/utils.c:2481:11: Binary operation: ([-oo, 0] - 1):unsigned32 by call to `av_close_input_file` 
    2479.     flush_packet_queue(s);
    2480.     av_freep(&s->priv_data);
    2481.     while(s->nb_chapters--) {
                    ^
    2482. #if FF_API_OLD_METADATA
    2483.         av_free(s->chapters[s->nb_chapters]->title);
