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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/172/head
Paul B Mahol 9 years ago
parent 7fe77aa62e
commit 8bcd1997ea
  1. 2
      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;

Loading…
Cancel
Save