diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-29 23:39:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-29 23:39:54 +0200 |
commit | b3f461508176236bd9d7c2762fd70e339b1494f8 (patch) | |
tree | 0b50c4c03e732a8506ddb940efda50f920158d5b /ffmpeg.c | |
parent | 02a3e327f118efc118d30fc390e59c5119c6920d (diff) | |
download | ffmpeg-b3f461508176236bd9d7c2762fd70e339b1494f8.tar.gz |
ffmpeg: fix check for muxing overhead being unknown
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1220,7 +1220,7 @@ static void print_final_stats(int64_t total_size) data_size += ost->data_size; } - if (data_size && total_size >= data_size) + if (data_size && total_size>0 && total_size >= data_size) percent = 100.0 * (total_size - data_size) / data_size; av_log(NULL, AV_LOG_INFO, "\n"); |