mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
avfilter/vf_deband: avoid doubles
This commit is contained in:
parent
8d21eccd26
commit
178a0d6f7d
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user