Unified · Split
| @@ -132,7 +132,7 @@ void compute_images_mse(PSNRContext *s, · 131 unmodified lines | |||
| 132 | static void set_meta(AVDictionary **metadata, const char *key, char comp, float d) | 132 | static void set_meta(AVDictionary **metadata, const char *key, char comp, float d) |
| 133 | { | 133 | { |
| 134 | char value[128]; | 134 | char value[128]; |
| 135 | snprintf(value, sizeof(value), "%0.2f", d); | 135 | snprintf(value, sizeof(value), "%f", d); |
| 136 | if (comp) { | 136 | if (comp) { |
| 137 | char key2[128]; | 137 | char key2[128]; |
| 138 | snprintf(key2, sizeof(key2), "%s%c", key, comp); | 138 | snprintf(key2, sizeof(key2), "%s%c", key, comp); |