[vlc-devel] commit: forgot this patch earlier today ( Felix Paul Kühne )

git version control git at videolan.org
Sat May 24 02:58:11 CEST 2008


vlc | branch: 0.8.6-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Sat May 24 02:59:37 2008 +0200| [70f394f66dc86d0582931123dfd7d1f4f1cdc5fa]

forgot this patch earlier today

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70f394f66dc86d0582931123dfd7d1f4f1cdc5fa
---

 .../contrib/src/Patches/ffmpeg-fix-noaltivec.patch |   27 ++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Patches/ffmpeg-fix-noaltivec.patch b/extras/contrib/src/Patches/ffmpeg-fix-noaltivec.patch
new file mode 100644
index 0000000..8f79780
--- /dev/null
+++ b/extras/contrib/src/Patches/ffmpeg-fix-noaltivec.patch
@@ -0,0 +1,27 @@
+Index: swscale.c
+===================================================================
+--- swscale.c	(revision 26515)
++++ swscale.c	(working copy)
+@@ -880,7 +880,7 @@
+ #endif
+ 
+ #ifdef ARCH_POWERPC
+-#if (defined (HAVE_ALTIVEC) || defined (RUNTIME_CPUDETECT)) && defined (CONFIG_GPL)
++#if (defined (HAVE_ALTIVEC)) && defined (CONFIG_GPL)
+ #define COMPILE_ALTIVEC
+ #endif //HAVE_ALTIVEC
+ #endif //ARCH_POWERPC
+@@ -1553,11 +1553,13 @@
+ 
+ #else
+ #ifdef ARCH_POWERPC
++#ifdef COMPILE_ALTIVEC
+     if (flags & SWS_CPU_CAPS_ALTIVEC)
+         return swScale_altivec;
+     else
+         return swScale_C;
+ #endif
++#endif
+     return swScale_C;
+ #endif /* defined(ARCH_X86) */
+ #else //RUNTIME_CPUDETECT




More information about the vlc-devel mailing list