libavformat/apetag.c:147: error: Integer Overflow L2
  ([-16777216, +oo] - 32):unsigned32.

libavformat/apetag.c:119:21: <LHS trace>
117. {
118.     AVIOContext *pb = s->pb;
119.     int file_size = avio_size(pb);
                         ^
120.     uint32_t val, fields, tag_bytes;
121.     uint8_t buf[8];

libavformat/apetag.c:119:21: Call
117. {
118.     AVIOContext *pb = s->pb;
119.     int file_size = avio_size(pb);
                         ^
120.     uint32_t val, fields, tag_bytes;
121.     uint8_t buf[8];

libavformat/aviobuf.c:242:9: Assignment
  240. 
  241.     if(!s)
  242.         return AVERROR(EINVAL);
               ^
  243. 
  244.     if (!s->seek)

libavformat/apetag.c:119:5: Assignment
117. {
118.     AVIOContext *pb = s->pb;
119.     int file_size = avio_size(pb);
         ^
120.     uint32_t val, fields, tag_bytes;
121.     uint8_t buf[8];

libavformat/apetag.c:147:5: Binary operation: ([-16777216, +oo] - 32):unsigned32
145.     }
146. 
147.     tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES;
         ^
148.     if (tag_start < 0) {
149.         av_log(s, AV_LOG_ERROR, "Invalid tag size %u.\n", tag_bytes);
