apetag: use int64_t for filesize
authorAnton Khirnov <anton@khirnov.net>
Wed, 29 May 2013 14:18:40 +0000 (16:18 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 22 Jun 2013 06:51:56 +0000 (08:51 +0200)
CC: libav-stable@libav.org
(cherry picked from commit e816aaacd68201b67182f9c70dc680e89a0123e9)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/apetag.c

index 257ed48..2390bfa 100644 (file)
@@ -65,7 +65,7 @@ static int ape_tag_read_field(AVFormatContext *s)
 void 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];
     int i;