for (int k = FFMAX(n - N + i, 0); k <= FFMIN(i, n); k++) {
acc += ((fact(i) * fact(N - i)) /
(fact(k) * fact(i - k) * fact(n - k) * fact(N - i - n + k))) *
- ((k & 1) ? -1. : 1.);;
+ ((k & 1) ? -1. : 1.);
}
z += a[i] * pow(2., i) * acc;
AVFILTER_DEFINE_CLASS(aiir);
-AVFilter ff_af_aiir = {
+const AVFilter ff_af_aiir = {
.name = "aiir",
.description = NULL_IF_CONFIG_SMALL("Apply Infinite Impulse Response filter with supplied coefficients."),
.priv_size = sizeof(AudioIIRContext),