Actually, you need the following patch so it'll continue to work with
gcc 4.1:

--- ./libtwolame/common.h~      2007-03-30 20:07:53.000000000 +0000
+++ ./libtwolame/common.h       2007-03-30 20:08:10.000000000 +0000
@@ -33,7 +33,7 @@
 #define NO_DLL_INLINE
 #else
 #include "config.h"
-#define NO_DLL_INLINE inline
+#define NO_DLL_INLINE extern inline
 #endif
 
 
--- ./libtwolame/bitbuffer.c~   2007-03-30 20:41:09.000000000 +0000
+++ ./libtwolame/bitbuffer.c    2007-03-30 20:40:25.000000000 +0000
@@ -76,7 +76,7 @@
 }
 
 /*write N bits into the bit stream */
-NO_DLL_INLINE void buffer_putbits (bit_stream * bs, unsigned int val, int N)
+void buffer_putbits (bit_stream * bs, unsigned int val, int N)
 {
        static const int putmask[9] = { 0x0, 0x1, 0x3, 0x7, 0xf, 0x1f, 0x3f, 
0x7f, 0xff };
        register int j = N;

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to