avfilter/vf_convolve: reset fft/ifft pointers after free

pull/334/head
Paul B Mahol 5 years ago
parent ad65a15328
commit 7e08a92370
  1. 2
      libavfilter/vf_convolve.c

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

Loading…
Cancel
Save