opt/ffmpeg/250471ea1745fc703eb346a2a662304536a311b1.patch

11 lines
264 B
Diff

--- a/libavcodec/avfft.c
+++ b/libavcodec/avfft.c
@@ -130,6 +130,7 @@ av_cold void av_mdct_end(FFTContext *s)
{
if (s) {
AVTXWrapper *w = (AVTXWrapper *)s;
+ av_tx_uninit(&w->ctx2);
av_tx_uninit(&w->ctx);
av_free(w);
}