mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
fix overhead and bitrate statistics
Originally committed as revision 8732 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f9be0cb800
commit
859d95baa1
4
ffmpeg.c
4
ffmpeg.c
@ -915,7 +915,9 @@ static void print_report(AVFormatContext **output_files,
|
||||
|
||||
oc = output_files[0];
|
||||
|
||||
total_size = url_ftell(&oc->pb);
|
||||
total_size = url_fsize(&oc->pb);
|
||||
if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
|
||||
total_size= url_ftell(&oc->pb);
|
||||
|
||||
buf[0] = '\0';
|
||||
ti1 = 1e10;
|
||||
|
Loading…
Reference in New Issue
Block a user