[libav-stable] apetag: use int64_t for filesize

Anton Khirnov git at libav.org
Tue Jun 4 17:44:54 CEST 2013


Module: libav
Branch: master
Commit: e816aaacd68201b67182f9c70dc680e89a0123e9

Author:    Anton Khirnov <anton at khirnov.net>
Committer: Anton Khirnov <anton at khirnov.net>
Date:      Wed May 29 16:18:40 2013 +0200

apetag: use int64_t for filesize

CC: libav-stable at libav.org

---

 libavformat/apetag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index 68f2df6..d4be91c 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -118,7 +118,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;



More information about the libav-stable mailing list