Browse Source

avfilter/af_sofalizer: reset FFT pointers back to NULL

tags/n4.2
Paul B Mahol 6 years ago
parent
commit
d360a79c0a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavfilter/af_sofalizer.c

+ 4
- 0
libavfilter/af_sofalizer.c 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]);


Loading…
Cancel
Save