summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuiling Song <ruiling.song@intel.com>2019-05-16 12:47:36 +0800
committerJames Almer <jamrial@gmail.com>2019-05-16 18:25:31 -0300
commit65646db8e8d5aa95ef8282823fdf5ec1a5f3df69 (patch)
tree8d61587e8ac74646f99bc0b99b09281a3f58b5a1
parentc2771bbf815bd7d0ff273ba590b7db02a303399f (diff)
avutil/tx: should check against (*ctx)
ctx is a pointer to pointer here. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
-rw-r--r--libavutil/tx.c2
1 files changed, 1 insertions, 1 deletions
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);