From 178a0d6f7d0aad2444ec6104dea0ec4d9e3d50c7 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 8 Feb 2021 15:58:42 +0100 Subject: [PATCH] avfilter/vf_deband: avoid doubles --- libavfilter/vf_deband.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_deband.c b/libavfilter/vf_deband.c index 330792f532..165009c136 100644 --- a/libavfilter/vf_deband.c +++ b/libavfilter/vf_deband.c @@ -117,7 +117,7 @@ static int query_formats(AVFilterContext *ctx) static float frand(int x, int y) { - const float r = sinf(x * 12.9898 + y * 78.233) * 43758.545; + const float r = sinf(x * 12.9898f + y * 78.233f) * 43758.545f; return r - floorf(r); }