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:
parent
fffc35b870
commit
cc4feff861
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user