changeset 22182:c4fbdc3daed9

Move variable declaration to appropriate place
author reimar
date Sat, 10 Feb 2007 20:33:27 +0000
parents e99ebf35812b
children 36165d7a44b3
files libaf/af_lavcresample.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_lavcresample.c	Sat Feb 10 20:32:56 2007 +0000
+++ b/libaf/af_lavcresample.c	Sat Feb 10 20:33:27 2007 +0000
@@ -82,9 +82,9 @@
         free(af->data->audio);
     free(af->data);
     if(af->setup){
+        int i;
         af_resample_t *s = af->setup;
         if(s->avrctx) av_resample_close(s->avrctx);
-        int i;
         for (i=0; i < AF_NCH; i++)
             free(s->in[i]);
         free(s);