Browse Source

avfilter/vf_deband: avoid doubles

tags/n4.4
Paul B Mahol 4 years ago
parent
commit
178a0d6f7d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_deband.c

+ 1
- 1
libavfilter/vf_deband.c View File

@@ -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…
Cancel
Save