X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_convolve.c;h=a0066bbd39f4d5dda6c6a5b535a7d3bf105b3a23;hb=4be1714b12b6c311a99a64888ea5f279c3ed9885;hp=024eb684867b4358914b74468473939c19ce6e59;hpb=94d98330ed6c5562341315c26c1af92771a2e6de;p=ffmpeg diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c index 024eb684867..a0066bbd39f 100644 --- a/libavfilter/vf_convolve.c +++ b/libavfilter/vf_convolve.c @@ -590,7 +590,9 @@ static av_cold void uninit(AVFilterContext *ctx) for (j = 0; j < MAX_THREADS; j++) { av_fft_end(s->fft[i][j]); + s->fft[i][j] = NULL; av_fft_end(s->ifft[i][j]); + s->ifft[i][j] = NULL; } } @@ -623,7 +625,7 @@ static const AVFilterPad convolve_outputs[] = { FRAMESYNC_DEFINE_CLASS(convolve, ConvolveContext, fs); -AVFilter ff_vf_convolve = { +const AVFilter ff_vf_convolve = { .name = "convolve", .description = NULL_IF_CONFIG_SMALL("Convolve first video stream with second video stream."), .preinit = convolve_framesync_preinit, @@ -653,7 +655,7 @@ static const AVOption deconvolve_options[] = { FRAMESYNC_DEFINE_CLASS(deconvolve, ConvolveContext, fs); -AVFilter ff_vf_deconvolve = { +const AVFilter ff_vf_deconvolve = { .name = "deconvolve", .description = NULL_IF_CONFIG_SMALL("Deconvolve first video stream with second video stream."), .preinit = deconvolve_framesync_preinit,