aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/des.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-03 16:57:26 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-03 18:30:01 +0200
commit91c9aa0941869531ce8cadbea8cd333a9c4b1244 (patch)
tree16674d19d5f888fff52367480ae1c61a78c09489 /libavutil/des.c
parent14376a53b20bed4463a0998dfd25012f8a927838 (diff)
downloadffmpeg-91c9aa0941869531ce8cadbea8cd333a9c4b1244.tar.gz
Move some conditionally used code below the appropriate #ifdef.
Diffstat (limited to 'libavutil/des.c')
-rw-r--r--libavutil/des.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/des.c b/libavutil/des.c
index 857ca91319..5de816387f 100644
--- a/libavutil/des.c
+++ b/libavutil/des.c
@@ -39,6 +39,7 @@ static const uint8_t IP_shuffle[] = {
};
#undef T
+#if defined(CONFIG_SMALL) || defined(GENTABLES)
#define T(a, b, c, d) 32-a,32-b,32-c,32-d
static const uint8_t P_shuffle[] = {
T(16, 7, 20, 21),
@@ -51,6 +52,7 @@ static const uint8_t P_shuffle[] = {
T(22, 11, 4, 25)
};
#undef T
+#endif
#define T(a, b, c, d, e, f, g) 64-a,64-b,64-c,64-d,64-e,64-f,64-g
static const uint8_t PC1_shuffle[] = {