[FFmpeg-cvslog] des: fix #if conditional around P_shuffle

Mans Rullgard git at videolan.org
Sun Jul 17 20:12:45 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jul 16 19:10:43 2011 +0100| [bd39c076885e8c6d9e05d5573433416180ef4da8] | committer: Mans Rullgard

des: fix #if conditional around P_shuffle

CONFIG_SMALL is always defined as 0 or 1.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd39c076885e8c6d9e05d5573433416180ef4da8
---

 libavutil/des.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/des.c b/libavutil/des.c
index db2227b..d3f715e 100644
--- 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),



More information about the ffmpeg-cvslog mailing list