ffmpeg | branch: master | Ruiling Song <ruiling.s...@intel.com> | Thu May 16 12:47:36 2019 +0800| [65646db8e8d5aa95ef8282823fdf5ec1a5f3df69] | committer: James Almer
avutil/tx: should check against (*ctx) ctx is a pointer to pointer here. Signed-off-by: Ruiling Song <ruiling.s...@intel.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65646db8e8d5aa95ef8282823fdf5ec1a5f3df69 --- libavutil/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".