Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-08 17:58:42 +0300
committerPaul B Mahol <onemda@gmail.com>2021-02-08 18:10:51 +0300
commit178a0d6f7d0aad2444ec6104dea0ec4d9e3d50c7 (patch)
tree1357ba21e87a0496b9a9680f15ed4d344b64c681 /libavfilter/vf_deband.c
parent8d21eccd267acfcde3d35bbbf6621d6c3282e1ea (diff)
avfilter/vf_deband: avoid doubles
Diffstat (limited to 'libavfilter/vf_deband.c')
-rw-r--r--libavfilter/vf_deband.c2
1 files changed, 1 insertions, 1 deletions
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);
}