AVFilterContext *ctx = outlink->src;
ZPContext *s = ctx->priv;
AVFrame *in = s->in;
- double zoom, dx, dy;
- int ret;
+ double zoom=1, dx=0, dy=0;
+ int ret = -1;
if (in) {
ret = output_single_frame(ctx, in, s->var_values, s->current_frame,
s->nb_frames = 0;
s->current_frame = 0;
av_frame_free(&s->in);
- ret = 0;
s->finished = 1;
ret = ff_request_frame(ctx->inputs[0]);
}