Commit d360a79c authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_sofalizer: reset FFT pointers back to NULL

parent 0c3481b4
...@@ -858,6 +858,10 @@ static av_cold void uninit(AVFilterContext *ctx) ...@@ -858,6 +858,10 @@ static av_cold void uninit(AVFilterContext *ctx)
av_fft_end(s->ifft[1]); av_fft_end(s->ifft[1]);
av_fft_end(s->fft[0]); av_fft_end(s->fft[0]);
av_fft_end(s->fft[1]); 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[0]);
av_freep(&s->delay[1]); av_freep(&s->delay[1]);
av_freep(&s->data_ir[0]); av_freep(&s->data_ir[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment