From 8bcd1997eadb0d79a049227a1d1afe6111397baa Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 2 Jan 2016 18:51:11 +0100 Subject: avfilter/vf_zoompan: do not free frame we pushed to lavfi Signed-off-by: Paul B Mahol --- libavfilter/vf_zoompan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index fb6acd4da6..c65ce56602 100644 --- a/libavfilter/vf_zoompan.c +++ b/libavfilter/vf_zoompan.c @@ -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; -- cgit v1.2.3