[FFmpeg-cvslog] vf_pp: remove unnecessary free
Anton Khirnov
git at videolan.org
Mon Feb 8 12:38:18 EET 2021
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jan 26 17:25:54 2021 +0100| [cc4feff861e866550956f39c194001d2628939fa] | committer: Anton Khirnov
vf_pp: remove unnecessary free
ff_qp_table_extract() frees the table on failure.
Found-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc4feff861e866550956f39c194001d2628939fa
---
libavfilter/vf_pp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavfilter/vf_pp.c b/libavfilter/vf_pp.c
index 29ab777e01..19a0f9fc6e 100644
--- a/libavfilter/vf_pp.c
+++ b/libavfilter/vf_pp.c
@@ -145,7 +145,6 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
if (ret < 0) {
av_frame_free(&inbuf);
av_frame_free(&outbuf);
- av_freep(&qp_table);
return ret;
}
More information about the ffmpeg-cvslog
mailing list