diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-04-22 13:01:14 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-23 17:11:16 +0200 |
commit | 14404170b95913e80555416f921e78c58f3ffff0 (patch) | |
tree | e320dd6b0da897211756ce90c52888ce7af4668f | |
parent | e9e42beed2acc876498737272112e89a3605e104 (diff) | |
download | ffmpeg-14404170b95913e80555416f921e78c58f3ffff0.tar.gz |
ffprobe: fix scaling of vali in value_string() in case -prefix is selected
Fix trac ticket #3523.
(cherry picked from commit 1ba59b1cbeafe7cd28db04f772abd89eb7e4ce1e)
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |