Browse Source

avfilter/vf_psnr: remove precision limits for metadata values

tags/n4.4
Paul B Mahol 5 years ago
parent
commit
6c52c27d3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_psnr.c

+ 1
- 1
libavfilter/vf_psnr.c View File

@@ -132,7 +132,7 @@ void compute_images_mse(PSNRContext *s,
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);


Loading…
Cancel
Save