Browse Source

avutil/tx: should check against (*ctx)

ctx is a pointer to pointer here.

Signed-off-by: Ruiling Song <ruiling.song@intel.com>
tags/n4.2
Ruiling Song James Almer 6 years ago
parent
commit
65646db8e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/tx.c

+ 1
- 1
libavutil/tx.c View File

@@ -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);


Loading…
Cancel
Save