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
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}