1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_pp: remove unnecessary free

ff_qp_table_extract() frees the table on failure.

Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Anton Khirnov 2021-01-26 17:25:54 +01:00
parent fffc35b870
commit cc4feff861

View File

@ -145,7 +145,6 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
if (ret < 0) { if (ret < 0) {
av_frame_free(&inbuf); av_frame_free(&inbuf);
av_frame_free(&outbuf); av_frame_free(&outbuf);
av_freep(&qp_table);
return ret; return ret;
} }