avfilter/af_sofalizer: reset FFT pointers back to NULL

This commit is contained in:
Paul B Mahol 2018-12-23 11:30:01 +01:00
parent 0c3481b43a
commit d360a79c0a

View File

@ -858,6 +858,10 @@ static av_cold void uninit(AVFilterContext *ctx)
av_fft_end(s->ifft[1]);
av_fft_end(s->fft[0]);
av_fft_end(s->fft[1]);
s->ifft[0] = NULL;
s->ifft[1] = NULL;
s->fft[0] = NULL;
s->fft[1] = NULL;
av_freep(&s->delay[0]);
av_freep(&s->delay[1]);
av_freep(&s->data_ir[0]);