summaryrefslogtreecommitdiff
path: root/libavfilter/vf_convolve.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-02-25 17:35:09 +0100
committerPaul B Mahol <onemda@gmail.com>2020-02-25 17:35:09 +0100
commit7e08a9237080cd8fbe0fa846548ff185e682e92f (patch)
tree33dd977795e1ea70ecdc57f1fc1fa16f425f7efb /libavfilter/vf_convolve.c
parentad65a15328c6db87e8f3ec94cc9fc16e1e241f3d (diff)
avfilter/vf_convolve: reset fft/ifft pointers after free
Diffstat (limited to 'libavfilter/vf_convolve.c')
-rw-r--r--libavfilter/vf_convolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c
index 024eb68486..90ec98715b 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;
}
}