mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00: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…
Reference in New Issue
Block a user