... | ... |
@@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) |
187 | 187 |
|
188 | 188 |
stats[plane] /= s->planewidth[plane] * s->planeheight[plane]; |
189 | 189 |
snprintf(key, sizeof(key), "lavfi.bitplanenoise.%d.%d", plane, s->bitplane); |
190 |
- snprintf(metabuf, sizeof(metabuf), "%f", 1. - 2.* fabsf((stats[plane] - 0.5))); |
|
190 |
+ snprintf(metabuf, sizeof(metabuf), "%f", 1. - 2.* fabs((stats[plane] - 0.5))); |
|
191 | 191 |
av_dict_set(&out->metadata, key, metabuf, 0); |
192 | 192 |
} |
193 | 193 |
|