You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-16 08:38:24 +02:00
avfilter/vf_zoompan: do not free frame we pushed to lavfi
Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit 8bcd1997ea)
Fixes ticket #5113.
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
79f407b79a
commit
6a1bf98b3a
@@ -230,9 +230,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
s->frame_count++;
|
s->frame_count++;
|
||||||
|
|
||||||
ret = ff_filter_frame(outlink, out);
|
ret = ff_filter_frame(outlink, out);
|
||||||
|
out = NULL;
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
break;
|
break;
|
||||||
out = NULL;
|
|
||||||
|
|
||||||
sws_freeContext(s->sws);
|
sws_freeContext(s->sws);
|
||||||
s->sws = NULL;
|
s->sws = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user