projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf411ff
)
ffprobe: fix scaling of vali in value_string() in case -prefix is selected
author
Stefano Sabatini
<stefasab@gmail.com>
Tue, 22 Apr 2014 11:01:14 +0000
(13:01 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Wed, 23 Apr 2014 08:32:42 +0000
(10:32 +0200)
Fix trac ticket #3523.
ffprobe.c
patch
|
blob
|
history
diff --git
a/ffprobe.c
b/ffprobe.c
index
9e39ff7
..
319bbc6
100644
(file)
--- a/
ffprobe.c
+++ b/
ffprobe.c
@@
-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))