diff --git a/libavutil/tx.c b/libavutil/tx.c index a138c67bdc..93f6e489d3 100644 --- a/libavutil/tx.c +++ b/libavutil/tx.c @@ -697,7 +697,7 @@ static int gen_mdct_exptab(AVTXContext *s, int len4, double scale) av_cold void av_tx_uninit(AVTXContext **ctx) { - if (!ctx) + if (!(*ctx)) return; av_free((*ctx)->pfatab);