aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-04 19:57:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-08 02:09:21 +0100
commitdb44ea960d9b692e9683fffb13656a47d4166ac3 (patch)
tree7d0eefbcd46dad56be7393987b60eeb07a4fc46a /ffmpeg.c
parent1447dc59de9f179a99a91ca9a9d210d918b90486 (diff)
downloadffmpeg-db44ea960d9b692e9683fffb13656a47d4166ac3.tar.gz
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 922aadc6ec..3b0dd1bdb8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1364,8 +1364,8 @@ static void print_report(AVFormatContext **output_files,
oc = output_files[0];
- total_size = url_fsize(oc->pb);
- if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
+ total_size = avio_size(oc->pb);
+ if(total_size<0) // FIXME improve avio_size() so it works with non seekable output too
total_size= avio_tell(oc->pb);
buf[0] = '\0';