summaryrefslogtreecommitdiff
path: root/libavformat/apetag.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/apetag.c')
-rw-r--r--libavformat/apetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index c3c57717bd..fb46d2bac2 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -66,7 +66,7 @@ static int ape_tag_read_field(AVFormatContext *s)
void ff_ape_parse_tag(AVFormatContext *s)
{
AVIOContext *pb = s->pb;
- int file_size = url_fsize(pb);
+ int file_size = avio_size(pb);
uint32_t val, fields, tag_bytes;
uint8_t buf[8];
int i;