summaryrefslogtreecommitdiff
path: root/libavcodec/faanidct.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-01 19:59:58 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commit34c22a9ca656603428b2c3490d1339c5a5966961 (patch)
treeb91b80998a94c23d7eb700e119c72a9629ec4357 /libavcodec/faanidct.c
parenta4b1b5aa281cacde8351d9947b54ccf82ff10cd0 (diff)
faan(i)dct: Kill some disabled code
Diffstat (limited to 'libavcodec/faanidct.c')
-rw-r--r--libavcodec/faanidct.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index 2e9ce9ce1e..b132f89d4d 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -62,17 +62,8 @@ static inline void p8idct(int16_t data[64], FLOAT temp[64], uint8_t *dest, int s
od07= s17 + s53;
od25= (s17 - s53)*(2*A4);
-#if 0 //these 2 are equivalent
- {
- FLOAT tmp0;
- tmp0 = (d17 + d53) * (2 * A2);
- od34 = d17 * (2 * B6) - tmp0;
- od16 = d53 * (-2 * B2) + tmp0;
- }
-#else
od34= d17*(2*(B6-A2)) - d53*(2*A2);
od16= d53*(2*(A2-B2)) + d17*(2*A2);
-#endif
od16 -= od07;
od25 -= od16;