From 2bb66cc8befda588c560374b86bd43713908bf44 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 29 Aug 2014 18:32:20 +0200 Subject: fft_template: Move variables to where they are used. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavcodec/fft_template.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index 3abf94870d..23ea453938 100644 --- a/libavcodec/fft_template.c +++ b/libavcodec/fft_template.c @@ -228,8 +228,6 @@ static void fft_calc_c(FFTContext *s, FFTComplex *z) { int n4, n2, n34; FFTSample tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8; FFTComplex *tmpz; - FFTSample w_re, w_im; - const FFTSample *w_re_ptr, *w_im_ptr; const int fft_size = (1 << s->nbits); int64_t accu; @@ -322,6 +320,8 @@ static void fft_calc_c(FFTContext *s, FFTComplex *z) { num_transforms = (num_transforms >> 1) | 1; for (n=0; n> 31); -- cgit v1.2.3