Skip to content
Snippets Groups Projects
Commit 1ba59b1c authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

ffprobe: fix scaling of vali in value_string() in case -prefix is selected

Fix trac ticket #3523.
parent bf411fff
No related branches found
No related tags found
No related merge requests found
......@@ -246,6 +246,7 @@ static char *value_string(char *buf, int buf_size, struct unit_value uv)
vald /= pow(10, index * 3);
prefix_string = decimal_unit_prefixes[index];
}
vali = vald;
}
if (show_float || (use_value_prefix && vald != (long long int)vald))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment