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

libavformat/segment.c:205:20: Call
203.                "expect issues decoding it.\n");
204. 
205.     seg->oformat = av_guess_format(seg->format, s->filename, NULL);
                        ^
206. 
207.     if (!seg->oformat) {

libavformat/format.c:129:16: Unknown value from: av_guess_format
  127.         av_filename_number_test(filename) &&
  128.         ff_guess_image2_codec(filename) != AV_CODEC_ID_NONE) {
  129.         return av_guess_format("image2", NULL, NULL);
                      ^
  130.     }
  131. #endif

libavformat/segment.c:264:13: Call
262.             avio_close(seg->pb);
263.         if (seg->avf)
264.             avformat_free_context(seg->avf);
                 ^
265.     }
266.     return ret;

libavformat/utils.c:2595:1: <LHS trace>
2593. }
2594. 
2595. void avformat_free_context(AVFormatContext *s)
      ^
2596. {
2597.     int i;

libavformat/utils.c:2595:1: Parameter `s->nb_programs`
  2593. }
  2594. 
  2595. void avformat_free_context(AVFormatContext *s)
        ^
  2596. {
  2597.     int i;

libavformat/utils.c:2622:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_free_context` 
  2620.         av_free(st);
  2621.     }
  2622.     for (i = s->nb_programs - 1; i >= 0; i--) {
                 ^
  2623.         av_dict_free(&s->programs[i]->metadata);
  2624.         av_freep(&s->programs[i]->stream_index);
