diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-14 10:34:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-23 13:42:04 +0200 |
commit | 618d186b8c2bdb42cdbc722be42ab9efb1f7cdd1 (patch) | |
tree | 47422c82c3dff33e03b4b9d0c639025a95b7486f /libavfilter/vf_guided.c | |
parent | 4c0d6c91f61a754f605c2e82b3cf6a81e8ff29cb (diff) | |
download | ffmpeg-618d186b8c2bdb42cdbc722be42ab9efb1f7cdd1.tar.gz |
avfilter/vf_guided: Don't free frame we don't own
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_guided.c')
-rw-r--r-- | libavfilter/vf_guided.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index 95b2c52f3a..b0adf75886 100644 --- a/libavfilter/vf_guided.c +++ b/libavfilter/vf_guided.c @@ -319,7 +319,6 @@ static int process_frame(FFFrameSync *fs) out_frame = ff_get_video_buffer(outlink, outlink->w, outlink->h); if (!out_frame) { av_frame_free(&main_frame); - av_frame_free(&ref_frame); return AVERROR(ENOMEM); } av_frame_copy_props(out_frame, main_frame); |