projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d7efd
)
des: fix #if conditional around P_shuffle
author
Mans Rullgard
<mans@mansr.com>
Sat, 16 Jul 2011 18:10:43 +0000
(19:10 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Sat, 16 Jul 2011 18:39:19 +0000
(19:39 +0100)
CONFIG_SMALL is always defined as 0 or 1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/des.c
patch
|
blob
|
history
diff --git
a/libavutil/des.c
b/libavutil/des.c
index
db2227b
..
d3f715e
100644
(file)
--- a/
libavutil/des.c
+++ b/
libavutil/des.c
@@
-39,7
+39,7
@@
static const uint8_t IP_shuffle[] = {
};
#undef T
-#if
defined(CONFIG_SMALL)
|| defined(GENTABLES)
+#if
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),