avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 76aa876e69
)
This commit is contained in:
committed by
Michael Niedermayer
parent
1447dc59de
commit
db44ea960d
4
ffmpeg.c
4
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';
|
||||
|
Reference in New Issue
Block a user