[SCM] libav/experimental: use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:33:21 UTC 2013


The following commit has been merged in the experimental branch:
commit ff78c596396f6fa2b1633f84faf486e5c1062047
Author: Arpi <arpi at thot.banki.hu>
Date:   Mon Sep 16 19:39:57 2002 +0000

    use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
    
    Originally committed as revision 7422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c
index 7fcb7b5..44e764e 100644
--- a/postproc/rgb2rgb_template.c
+++ b/postproc/rgb2rgb_template.c
@@ -12,7 +12,8 @@
 #include <inttypes.h> /* for __WORDSIZE */
 
 #ifndef __WORDSIZE
-#warning You have misconfigured system and probably will lose performance!
+// #warning You have misconfigured system and probably will lose performance!
+#define __WORDSIZE MP_WORDSIZE
 #endif
 
 #undef PREFETCH

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list