[vlc-devel] [PATCH] contrib:opus: remove an unneeded MSVC patch

Steve Lhomme robux4 at videolabs.io
Sat Jan 30 09:26:40 CET 2016


From: Steve Lhomme <robUx4 at gmail.com>

---
 contrib/src/opus/msvc.patch | 11 -----------
 contrib/src/opus/rules.mak  |  3 ---
 2 files changed, 14 deletions(-)
 delete mode 100644 contrib/src/opus/msvc.patch

diff --git a/contrib/src/opus/msvc.patch b/contrib/src/opus/msvc.patch
deleted file mode 100644
index 5167719..0000000
--- a/contrib/src/opus/msvc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- opus/celt/float_cast.h	2013-11-29 21:17:15.000000000 +0100
-+++ /home/vlc/vlc/contrib/windowsphone/opus/celt/float_cast.h	2014-12-15 16:55:21.951193100 +0100
-@@ -97,7 +97,7 @@
-         {
-                 return _mm_cvtss_si32(_mm_load_ss(&value));
-         }
--#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32))
-+#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) && !defined(_M_ARM)
-         #include <math.h>
-
-         /*      Win32 doesn't seem to have these functions.
diff --git a/contrib/src/opus/rules.mak b/contrib/src/opus/rules.mak
index f746c31..0c002d2 100644
--- a/contrib/src/opus/rules.mak
+++ b/contrib/src/opus/rules.mak
@@ -17,9 +17,6 @@ $(TARBALLS)/opus-$(OPUS_VERSION).tar.gz:
 opus: opus-$(OPUS_VERSION).tar.gz .sum-opus
 	$(UNPACK)
 	$(UPDATE_AUTOCONFIG)
-ifdef HAVE_VISUALSTUDIO
-	$(APPLY) $(SRC)/opus/msvc.patch
-endif
 	$(MOVE)
 
 OPUS_CONF= --disable-extra-programs --disable-doc
-- 
2.6.0.windows.1



More information about the vlc-devel mailing list