diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-01-02 18:51:11 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-01-02 18:51:11 +0100 |
commit | 8bcd1997eadb0d79a049227a1d1afe6111397baa (patch) | |
tree | 7ee084ba2f46378712b96e25c15a7f77a7658e7d /libavfilter/vf_zoompan.c | |
parent | 7fe77aa62ea2ca376057436a6c36a759e8273f15 (diff) | |
download | ffmpeg-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.c | 2 |
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; |