]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_axcorrelate.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / af_axcorrelate.c
index 861903b0f16756e0bcf5e90d4853d93ea0e7f116..abd722b83e37ccf0a03b4fbf728b061950a7978c 100644 (file)
@@ -238,11 +238,11 @@ static int activate(AVFilterContext *ctx)
 
         ret = av_audio_fifo_peek(s->fifo[0], (void **)s->cache[0]->extended_data, available);
         if (ret < 0)
-            return ret;;
+            return ret;
 
         ret = av_audio_fifo_peek(s->fifo[1], (void **)s->cache[1]->extended_data, available);
         if (ret < 0)
-            return ret;;
+            return ret;
 
         out = ff_get_audio_buffer(ctx->outputs[0], out_samples);
         if (!out)
@@ -365,7 +365,7 @@ static const AVOption axcorrelate_options[] = {
 
 AVFILTER_DEFINE_CLASS(axcorrelate);
 
-AVFilter ff_af_axcorrelate = {
+const AVFilter ff_af_axcorrelate = {
     .name           = "axcorrelate",
     .description    = NULL_IF_CONFIG_SMALL("Cross-correlate two audio streams."),
     .priv_size      = sizeof(AudioXCorrelateContext),