aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_zoompan.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-01-02 18:51:11 +0100
committerPaul B Mahol <onemda@gmail.com>2016-01-02 18:51:11 +0100
commit8bcd1997eadb0d79a049227a1d1afe6111397baa (patch)
tree7ee084ba2f46378712b96e25c15a7f77a7658e7d /libavfilter/vf_zoompan.c
parent7fe77aa62ea2ca376057436a6c36a759e8273f15 (diff)
downloadffmpeg-8bcd1997eadb0d79a049227a1d1afe6111397baa.tar.gz
avfilter/vf_zoompan: do not free frame we pushed to lavfi
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_zoompan.c')
-rw-r--r--libavfilter/vf_zoompan.c2
1 files changed, 1 insertions, 1 deletions
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;