1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/vf_convolve: reset fft/ifft pointers after free

This commit is contained in:
Paul B Mahol 2020-02-25 17:35:09 +01:00
parent ad65a15328
commit 7e08a92370

View File

@ -590,7 +590,9 @@ static av_cold void uninit(AVFilterContext *ctx)
for (j = 0; j < MAX_THREADS; j++) { for (j = 0; j < MAX_THREADS; j++) {
av_fft_end(s->fft[i][j]); av_fft_end(s->fft[i][j]);
s->fft[i][j] = NULL;
av_fft_end(s->ifft[i][j]); av_fft_end(s->ifft[i][j]);
s->ifft[i][j] = NULL;
} }
} }