[vlc-commits] contrib: goom: don't build the xmmx code that is not used

Steve Lhomme git at videolan.org
Fri May 18 15:07:30 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 18 15:05:58 2018 +0200| [8d47f6b5faff28fbb2f934669cbf48b2da93319f] | committer: Steve Lhomme

contrib: goom: don't build the xmmx code that is not used

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

 contrib/src/goom/goom2k4-noxmmx.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/contrib/src/goom/goom2k4-noxmmx.patch b/contrib/src/goom/goom2k4-noxmmx.patch
index d9f07a2ce4..5525cc6cab 100644
--- a/contrib/src/goom/goom2k4-noxmmx.patch
+++ b/contrib/src/goom/goom2k4-noxmmx.patch
@@ -18,3 +18,20 @@
  #ifdef VERBOSE
  		printf ("MMX detected. Using fast methods !\n");
  #endif
+--- goom/src/xmmx.c.no-xmmx	2005-02-07 14:46:41.000000000 +0100
++++ goom/src/xmmx.c	2018-05-18 15:04:47.031571100 +0200
+@@ -26,6 +26,7 @@ int xmmx_supported (void) {
+ 	return (mm_support()&0x8)>>3;
+ }
+ 
++#if 0
+ void zoom_filter_xmmx (int prevX, int prevY,
+                        Pixel *expix1, Pixel *expix2,
+                        int *lbruS, int *lbruD, int buffratio,
+@@ -389,5 +390,5 @@ void draw_line_xmmx (Pixel *data, int x1
+ end_of_line:
+ 	__asm__ __volatile__ ("femms\n"); 
+ }
+-
++#endif /* 0 */
+ #endif



More information about the vlc-commits mailing list