vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Fri May 18 
15:05:58 2018 +0200| [e37dc945408722a143d6501db1b7e125fcc621e4] | committer: 
Steve Lhomme

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

(cherry picked from commit 8d47f6b5faff28fbb2f934669cbf48b2da93319f)
Signed-off-by: Steve Lhomme <[email protected]>

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

 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to