From 8af4d0fc8db6451e0c9200b71ef284e377c17683 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Feb 2008 15:44:49 +0000 Subject: [PATCH] Get rid of another useless variable. Originally committed as revision 12236 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/faandct.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index 1f0f1b89aa..35969754db 100644 --- a/libavcodec/faandct.c +++ b/libavcodec/faandct.c @@ -77,7 +77,7 @@ static av_always_inline void row_fdct(FLOAT temp[64], DCTELEM * data) { FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; FLOAT tmp10, tmp11, tmp12, tmp13; - FLOAT z2, z3, z4, z5, z11, z13; + FLOAT z2, z4, z5, z11, z13; int i; for (i=0; i<8*8; i+=8) { @@ -110,10 +110,10 @@ static av_always_inline void row_fdct(FLOAT temp[64], DCTELEM * data) z5= (tmp4 - tmp6) * A5; z2= tmp4*A2 + z5; z4= tmp6*A4 + z5; - z3= tmp5*A1; + tmp5*=A1; - z11= tmp7 + z3; - z13= tmp7 - z3; + z11= tmp7 + tmp5; + z13= tmp7 - tmp5; temp[5 + i]= z13 + z2; temp[3 + i]= z13 - z2; @@ -126,7 +126,7 @@ void ff_faandct(DCTELEM * data) { FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; FLOAT tmp10, tmp11, tmp12, tmp13; - FLOAT z2, z3, z4, z5, z11, z13; + FLOAT z2, z4, z5, z11, z13; FLOAT temp[64]; int i; @@ -164,10 +164,10 @@ void ff_faandct(DCTELEM * data) z5= (tmp4 - tmp6) * A5; z2= tmp4*A2 + z5; z4= tmp6*A4 + z5; - z3= tmp5*A1; + tmp5*=A1; - z11= tmp7 + z3; - z13= tmp7 - z3; + z11= tmp7 + tmp5; + z13= tmp7 - tmp5; data[8*5 + i]= lrintf(SCALE(8*5 + i) * (z13 + z2)); data[8*3 + i]= lrintf(SCALE(8*3 + i) * (z13 - z2));