mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-08 21:28:38 +00:00
ffprobe: fix scaling of vali in value_string() in case -prefix is selected
Fix trac ticket #3523.
This commit is contained in:
parent
bf411fffd4
commit
1ba59b1cbe
@ -246,6 +246,7 @@ static char *value_string(char *buf, int buf_size, struct unit_value uv)
|
|||||||
vald /= pow(10, index * 3);
|
vald /= pow(10, index * 3);
|
||||||
prefix_string = decimal_unit_prefixes[index];
|
prefix_string = decimal_unit_prefixes[index];
|
||||||
}
|
}
|
||||||
|
vali = vald;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (show_float || (use_value_prefix && vald != (long long int)vald))
|
if (show_float || (use_value_prefix && vald != (long long int)vald))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user