diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-26 17:25:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-02-08 11:06:29 +0100 |
commit | cc4feff861e866550956f39c194001d2628939fa (patch) | |
tree | a28ce805d0ec78401fc6f592586c4879dd385399 /libavfilter/vf_pp.c | |
parent | fffc35b870ea3b11689dd1ff871dbcf288462569 (diff) | |
download | ffmpeg-cc4feff861e866550956f39c194001d2628939fa.tar.gz |
vf_pp: remove unnecessary free
ff_qp_table_extract() frees the table on failure.
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_pp.c')
-rw-r--r-- | libavfilter/vf_pp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |