# HG changeset patch # User reimar # Date 1171139607 0 # Node ID c4fbdc3daed9197502e33ad120d02c0393efa60c # Parent e99ebf35812b60975963bef3616fcc7d38acb44b Move variable declaration to appropriate place diff -r e99ebf35812b -r c4fbdc3daed9 libaf/af_lavcresample.c --- 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);