mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avfilter/vf_zoompan: fix mixing of declarations and statements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
375fa06125
commit
2ffe55a64f
@ -159,6 +159,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
for (i = 0; i < nb_frames; i++) {
|
for (i = 0; i < nb_frames; i++) {
|
||||||
int px[4];
|
int px[4];
|
||||||
int py[4];
|
int py[4];
|
||||||
|
uint8_t *input[4];
|
||||||
int64_t pts = av_rescale_q(in->pts, inlink->time_base,
|
int64_t pts = av_rescale_q(in->pts, inlink->time_base,
|
||||||
outlink->time_base) + s->frame_count;
|
outlink->time_base) + s->frame_count;
|
||||||
|
|
||||||
@ -209,8 +210,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t *input[4];
|
|
||||||
|
|
||||||
for (k = 0; in->data[k]; k++)
|
for (k = 0; in->data[k]; k++)
|
||||||
input[k] = in->data[k] + py[k] * in->linesize[k] + px[k];
|
input[k] = in->data[k] + py[k] * in->linesize[k] + px[k];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user