apetag: use int64_t for filesize

CC: libav-stable@libav.org
This commit is contained in:
Anton Khirnov 2013-05-29 16:18:40 +02:00
parent 274e134e49
commit e816aaacd6

View File

@ -118,7 +118,7 @@ static int ape_tag_read_field(AVFormatContext *s)
int64_t ff_ape_parse_tag(AVFormatContext *s) int64_t ff_ape_parse_tag(AVFormatContext *s)
{ {
AVIOContext *pb = s->pb; AVIOContext *pb = s->pb;
int file_size = avio_size(pb); int64_t file_size = avio_size(pb);
uint32_t val, fields, tag_bytes; uint32_t val, fields, tag_bytes;
uint8_t buf[8]; uint8_t buf[8];
int64_t tag_start; int64_t tag_start;