# HG changeset patch # User michael # Date 1204051018 0 # Node ID 2eb1b18d628239e485cfebd40fa605219d0f2c4e # Parent f2d49842ea637b5deeec6b92cf6ab908b87925f6 Remove another temporary variable with which gcc has problems. diff -r f2d49842ea63 -r 2eb1b18d6282 faanidct.c --- a/faanidct.c Tue Feb 26 17:56:00 2008 +0000 +++ b/faanidct.c Tue Feb 26 18:36:58 2008 +0000 @@ -47,7 +47,7 @@ static inline void p8idct(DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type){ int i; - FLOAT tmp0, tmp1; + FLOAT tmp0; FLOAT s04, d04, s17, d17, s26, d26, s53, d53; FLOAT os07, os16, os25, os34; FLOAT od07, od16, od25, od34; @@ -76,15 +76,16 @@ s26 = temp[2*x + i] + temp[6*x + i]; d26 = temp[2*x + i] - temp[6*x + i]; - tmp1= d26*(2*A4) - s26; + d26*= 2*A4; + d26-= s26; s04= temp[0*x + i] + temp[4*x + i]; d04= temp[0*x + i] - temp[4*x + i]; os07= s04 + s26; os34= s04 - s26; - os16= d04 + tmp1; - os25= d04 - tmp1; + os16= d04 + d26; + os25= d04 - d26; if(type==0){ temp[0*x + i]= os07 + od07;