mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avutil/tx: should check against (*ctx)
ctx is a pointer to pointer here. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
This commit is contained in:
parent
c2771bbf81
commit
65646db8e8
@ -697,7 +697,7 @@ static int gen_mdct_exptab(AVTXContext *s, int len4, double scale)
|
|||||||
|
|
||||||
av_cold void av_tx_uninit(AVTXContext **ctx)
|
av_cold void av_tx_uninit(AVTXContext **ctx)
|
||||||
{
|
{
|
||||||
if (!ctx)
|
if (!(*ctx))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
av_free((*ctx)->pfatab);
|
av_free((*ctx)->pfatab);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user