1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/vf_psnr: remove precision limits for metadata values

This commit is contained in:
Paul B Mahol 2021-02-12 23:16:50 +01:00
parent 3300d718f7
commit 6c52c27d3d

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);