summaryrefslogtreecommitdiff
path: root/libavfilter/vf_ssim.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-12 23:15:08 +0100
committerPaul B Mahol <onemda@gmail.com>2021-02-12 23:22:32 +0100
commit3300d718f7fa9788d7eee66917f382dece398af5 (patch)
treea54085afc0a6698241a186e038e3ca0f05e95241 /libavfilter/vf_ssim.c
parent95b854dd0630183d4130ad27097796ef167eb96b (diff)
avfilter/vf_ssim: remove precision limits for metadata values
Diffstat (limited to 'libavfilter/vf_ssim.c')
-rw-r--r--libavfilter/vf_ssim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index b676f0c320..4efc807f37 100644
--- a/libavfilter/vf_ssim.c
+++ b/libavfilter/vf_ssim.c
@@ -83,7 +83,7 @@ FRAMESYNC_DEFINE_CLASS(ssim, SSIMContext, fs);
static void set_meta(AVDictionary **metadata, const char *key, char comp, float d)
{
char value[128];
- snprintf(value, sizeof(value), "%0.2f", d);
+ snprintf(value, sizeof(value), "%f", d);
if (comp) {
char key2[128];
snprintf(key2, sizeof(key2), "%s%c", key, comp);