summaryrefslogtreecommitdiff
path: root/libavcodec/faandct.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-26 15:44:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-26 15:44:49 +0000
commit8af4d0fc8db6451e0c9200b71ef284e377c17683 (patch)
tree270d3c3f0fc8c834e04b3513d784fc8b459ca5a7 /libavcodec/faandct.c
parent92ac614f85c7f3d10dbc1843942cd64c52e1928b (diff)
Get rid of another useless variable.
Originally committed as revision 12236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/faandct.c')
-rw-r--r--libavcodec/faandct.c16
1 files 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));