[FFmpeg-cvslog] avfilter/vf_zoompan: fix mixing of declarations and statements

Michael Niedermayer git at videolan.org
Mon Jun 9 18:50:42 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun  9 17:27:34 2014 +0200| [2ffe55a64f7853987b7541858009f88f717f1385] | committer: Michael Niedermayer

avfilter/vf_zoompan: fix mixing of declarations and statements

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ffe55a64f7853987b7541858009f88f717f1385
---

 libavfilter/vf_zoompan.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
index 9ac925c..8f179e6 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];
 



More information about the ffmpeg-cvslog mailing list