diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-19 01:46:03 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-20 13:27:57 +0100 |
commit | 23934e5f41f017587c15b9de4c3594a2627e14b5 (patch) | |
tree | ec2567918ee40c552cd867004f325c3003abea8b | |
parent | 4601ad769df9a5c4e51a06a75a23c1f8f39595eb (diff) | |
download | ffmpeg-23934e5f41f017587c15b9de4c3594a2627e14b5.tar.gz |
ffprobe: increase precision for the shown float values
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ static char *value_string(char *buf, int buf_size, struct unit_value uv) } if (show_float || (use_value_prefix && vald != (long long int)vald)) - l = snprintf(buf, buf_size, "%.3f", vald); + l = snprintf(buf, buf_size, "%f", vald); else l = snprintf(buf, buf_size, "%lld", (long long int)vald); snprintf(buf+l, buf_size-l, "%s%s%s", *prefix_string || show_value_unit ? " " : "", |