summaryrefslogtreecommitdiff
path: root/libavcodec/tiff_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tiff_common.c')
-rw-r--r--libavcodec/tiff_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff_common.c b/libavcodec/tiff_common.c
index 251af3d497..fc34087c6b 100644
--- a/libavcodec/tiff_common.c
+++ b/libavcodec/tiff_common.c
@@ -165,7 +165,7 @@ int ff_tadd_doubles_metadata(int count, const char *name, const char *sep,
av_bprint_init(&bp, 10 * count, 100 * count);
for (i = 0; i < count; i++) {
- av_bprintf(&bp, "%s%f", auto_sep(count, sep, i, 4), ff_tget_double(gb, le));
+ av_bprintf(&bp, "%s%.15g", auto_sep(count, sep, i, 4), ff_tget_double(gb, le));
}
if ((i = av_bprint_finalize(&bp, &ap))) {