[FFmpeg-cvslog] apetag: use int64_t for filesize

Anton Khirnov git at videolan.org
Sun Jun 9 11:13:47 CEST 2013


ffmpeg | branch: release/1.1 | Anton Khirnov <anton at khirnov.net> | Wed May 29 16:18:40 2013 +0200| [042b8c2f06b4796bab0b65069ac7e7565d9157ce] | committer: Reinhard Tartler

apetag: use int64_t for filesize

CC: libav-stable at libav.org
(cherry picked from commit e816aaacd68201b67182f9c70dc680e89a0123e9)

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=042b8c2f06b4796bab0b65069ac7e7565d9157ce
---

 libavformat/apetag.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index 0d2cb97..bb8b2df 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -116,7 +116,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 ffmpeg-cvslog mailing list