summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-04 19:57:36 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-07 11:03:39 -0500
commit76aa876e69cf78a40821e66dec0a1006e4eb23ec (patch)
tree48122de51aeb99266e25f78bc715296e7fe85d59 /ffmpeg.c
parente51975392d85e72801193123945a35fb5221248f (diff)
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 814b4977d6..7f909563cd 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1350,8 +1350,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';