libavformat/mov.c:565: error: Buffer Overrun L3
  Offset: 3 Size: [0, 2147483631].

libavformat/mov.c:555:5: <Length trace>
553. {
554.     AVStream *st = c->fc->streams[c->fc->nb_streams-1];
555.     uint64_t size= (uint64_t)st->codec->extradata_size + atom.size + 8 + FF_INPUT_BUFFER_PADDING_SIZE;
         ^
556.     uint8_t *buf;
557.     if(size > INT_MAX || (uint64_t)atom.size > INT_MAX)

libavformat/mov.c:555:5: Assignment
553. {
554.     AVStream *st = c->fc->streams[c->fc->nb_streams-1];
555.     uint64_t size= (uint64_t)st->codec->extradata_size + atom.size + 8 + FF_INPUT_BUFFER_PADDING_SIZE;
         ^
556.     uint8_t *buf;
557.     if(size > INT_MAX || (uint64_t)atom.size > INT_MAX)

libavformat/mov.c:559:10: Call
557.     if(size > INT_MAX || (uint64_t)atom.size > INT_MAX)
558.         return -1;
559.     buf= av_realloc(st->codec->extradata, size);
              ^
560.     if(!buf)
561.         return -1;

libavutil/mem.c:102:9: Assignment
  100.     /* let's disallow possible ambiguous cases */
  101.     if(size > (INT_MAX-16) )
  102.         return NULL;
               ^
  103. 
  104. #ifdef CONFIG_MEMALIGN_HACK

libavformat/mov.c:559:5: Assignment
557.     if(size > INT_MAX || (uint64_t)atom.size > INT_MAX)
558.         return -1;
559.     buf= av_realloc(st->codec->extradata, size);
         ^
560.     if(!buf)
561.         return -1;

libavformat/mov.c:563:5: Assignment
561.         return -1;
562.     st->codec->extradata= buf;
563.     buf+= st->codec->extradata_size;
         ^
564.     st->codec->extradata_size= size - FF_INPUT_BUFFER_PADDING_SIZE;
565.     AV_WB32(       buf    , atom.size + 8);

libavformat/mov.c:565:5: Array access: Offset: 3 Size: [0, 2147483631]
563.     buf+= st->codec->extradata_size;
564.     st->codec->extradata_size= size - FF_INPUT_BUFFER_PADDING_SIZE;
565.     AV_WB32(       buf    , atom.size + 8);
         ^
566.     AV_WL32(       buf + 4, atom.type);
567.     get_buffer(pb, buf + 8, atom.size);
