Commit 2ffe55a6 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_zoompan: fix mixing of declarations and statements

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 375fa061
......@@ -159,6 +159,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
for (i = 0; i < nb_frames; i++) {
int px[4];
int py[4];
uint8_t *input[4];
int64_t pts = av_rescale_q(in->pts, inlink->time_base,
outlink->time_base) + s->frame_count;
......@@ -209,8 +210,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
goto fail;
}
uint8_t *input[4];
for (k = 0; in->data[k]; k++)
input[k] = in->data[k] + py[k] * in->linesize[k] + px[k];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment