Commit 65646db8 authored by Ruiling Song's avatar Ruiling Song Committed by James Almer

avutil/tx: should check against (*ctx)

ctx is a pointer to pointer here.
Signed-off-by: 's avatarRuiling Song <ruiling.song@intel.com>
parent c2771bbf
......@@ -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);
......
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