[FFmpeg-cvslog] apetag: use int64_t for filesize

Anton Khirnov git at videolan.org
Mon Jul 29 04:01:54 CEST 2013


ffmpeg | branch: release/0.10 | Anton Khirnov <anton at khirnov.net> | Wed May 29 16:18:40 2013 +0200| [ea7ba1d8717dacca70771d0fbe553acbdbd47739] | 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=ea7ba1d8717dacca70771d0fbe553acbdbd47739
---

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

diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index 257ed48..2390bfa 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -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;



More information about the ffmpeg-cvslog mailing list