diff options
author | Ruiling Song <ruiling.song@intel.com> | 2019-05-16 12:47:36 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-05-16 18:25:31 -0300 |
commit | 65646db8e8d5aa95ef8282823fdf5ec1a5f3df69 (patch) | |
tree | 8d61587e8ac74646f99bc0b99b09281a3f58b5a1 /libavutil/tx.c | |
parent | c2771bbf815bd7d0ff273ba590b7db02a303399f (diff) | |
download | ffmpeg-65646db8e8d5aa95ef8282823fdf5ec1a5f3df69.tar.gz |
avutil/tx: should check against (*ctx)
ctx is a pointer to pointer here.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'libavutil/tx.c')
-rw-r--r-- | libavutil/tx.c | 2 |
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); |