Commit b3f46150 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix check for muxing overhead being unknown

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 02a3e327
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment