diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-02-25 17:35:09 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-02-25 17:35:09 +0100 |
commit | 7e08a9237080cd8fbe0fa846548ff185e682e92f (patch) | |
tree | 33dd977795e1ea70ecdc57f1fc1fa16f425f7efb | |
parent | ad65a15328c6db87e8f3ec94cc9fc16e1e241f3d (diff) | |
download | ffmpeg-7e08a9237080cd8fbe0fa846548ff185e682e92f.tar.gz |
avfilter/vf_convolve: reset fft/ifft pointers after free
-rw-r--r-- | libavfilter/vf_convolve.c | 2 |
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; } } |