]> git.sesse.net Git - ffmpeg/commitdiff
vf_pp: remove unnecessary free
authorAnton Khirnov <anton@khirnov.net>
Tue, 26 Jan 2021 16:25:54 +0000 (17:25 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 8 Feb 2021 10:06:29 +0000 (11:06 +0100)
ff_qp_table_extract() frees the table on failure.

Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/vf_pp.c

index 29ab777e01060f4dd0c85ac7bd3f13bd9c904b93..19a0f9fc6e71b60ec2423aec2431272f1a34f667 100644 (file)
@@ -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;
     }