Hello, here is a new patch for this bug. It also disables inlining
for the PPC platform. Due to another bug (fix pending) the error was not
triggered, but the fix is needed.
--
Sam.
diff -puriN mpeg2dec-0.4.0/libmpeg2/cpu_accel.c
mpeg2dec-0.4.0-new/libmpeg2/cpu_accel.c
--- mpeg2dec-0.4.0/libmpeg2/cpu_accel.c 2003-10-06 04:31:52 +0200
+++ mpeg2dec-0.4.0-new/libmpeg2/cpu_accel.c 2005-10-02 12:44:00 +0200
@@ -127,7 +127,7 @@ static RETSIGTYPE sigill_handler (int si
}
#ifdef ARCH_PPC
-static inline uint32_t arch_accel (void)
+static uint32_t arch_accel (void)
{
static RETSIGTYPE (* oldsig) (int);
@@ -157,7 +157,7 @@ static inline uint32_t arch_accel (void)
#endif /* ARCH_PPC */
#ifdef ARCH_SPARC
-static inline uint32_t arch_accel (void)
+static uint32_t arch_accel (void)
{
static RETSIGTYPE (* oldsig) (int);