Commit 8bcd1997 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_zoompan: do not free frame we pushed to lavfi

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 7fe77aa6
......@@ -230,9 +230,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
s->frame_count++;
ret = ff_filter_frame(outlink, out);
out = NULL;
if (ret < 0)
break;
out = NULL;
sws_freeContext(s->sws);
s->sws = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment