]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_aiir.c
avcodec/mjpegdec: fix SOF check in EOI
[ffmpeg] / libavfilter / af_aiir.c
index f2e9d8e4e234fc948172b86092865efe82c85b75..a95f66d6bcf8742fd7b18227a81e652837cf6055 100644 (file)
@@ -966,7 +966,7 @@ static double coef_sf2zf(double *a, int N, int n)
         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;
@@ -1577,7 +1577,7 @@ static const AVOption aiir_options[] = {
 
 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),