diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-09 17:27:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-09 17:27:34 +0200 |
commit | 2ffe55a64f7853987b7541858009f88f717f1385 (patch) | |
tree | 875704a1b061f1c94bd1ea8c7d25210aff287c52 /libavfilter/vf_zoompan.c | |
parent | 375fa061255a244879df306143628a18c74ee74d (diff) | |
download | ffmpeg-2ffe55a64f7853987b7541858009f88f717f1385.tar.gz |
avfilter/vf_zoompan: fix mixing of declarations and statements
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_zoompan.c')
-rw-r--r-- | libavfilter/vf_zoompan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index 9ac925c9aa..8f179e669b 100644 --- a/libavfilter/vf_zoompan.c +++ b/libavfilter/vf_zoompan.c @@ -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]; |