Merge commit '945a1b7ab9b9df317e175e480a135a41e7e05b5c' into release/1.1
[ffmpeg.git] / libavformat / apetag.c
index a445c84..60d0639 100644 (file)
@@ -114,7 +114,7 @@ static int ape_tag_read_field(AVFormatContext *s)
 int64_t ff_ape_parse_tag(AVFormatContext *s)
 {
     AVIOContext *pb = s->pb;
-    int file_size = avio_size(pb);
+    int64_t file_size = avio_size(pb);
     uint32_t val, fields, tag_bytes;
     uint8_t buf[8];
     int64_t tag_start;