[FFmpeg-cvslog] avfilter/af_sofalizer: reset FFT pointers back to NULL
Paul B Mahol
git at videolan.org
Sun Dec 23 12:32:21 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Dec 23 11:30:01 2018 +0100| [d360a79c0a1ee8a37f141a7e5fdbe97743a26cd8] | committer: Paul B Mahol
avfilter/af_sofalizer: reset FFT pointers back to NULL
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d360a79c0a1ee8a37f141a7e5fdbe97743a26cd8
---
libavfilter/af_sofalizer.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
index 9715f78e88..94e5b73131 100644
--- a/libavfilter/af_sofalizer.c
+++ b/libavfilter/af_sofalizer.c
@@ -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]);
More information about the ffmpeg-cvslog
mailing list