libavformat/apetag.c:151: 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:246:9: Assignment
  244. 
  245.     if (!s)
  246.         return AVERROR(EINVAL);
               ^
  247. 
  248.     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:151:5: Binary operation: ([-16777216, +oo] - 32):unsigned32
149.         return 0;
150.     }
151.     tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES;
         ^
152. 
153.     fields = avio_rl32(pb);    /* number of fields */
