summaryrefslogtreecommitdiffstats
path: root/contrib/mpeg2dec/P00-mingw-disable-sse.patch
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-01-13 18:43:07 +0000
committerjstebbins <[email protected]>2014-01-13 18:43:07 +0000
commit1d137b47c62a47a4a08f13fc2bd8207633464fd5 (patch)
treebb7c5c62e67d079a4c66220f25a0c6df3e2438af /contrib/mpeg2dec/P00-mingw-disable-sse.patch
parentcd00b6f50ede70a9edef1785dd8c74e1d3ab4dad (diff)
remove contrib mpeg2dec
We no longer need mpeg2dec. libav now has all the features we need for mpeg2 decoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5966 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/mpeg2dec/P00-mingw-disable-sse.patch')
-rw-r--r--contrib/mpeg2dec/P00-mingw-disable-sse.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/contrib/mpeg2dec/P00-mingw-disable-sse.patch b/contrib/mpeg2dec/P00-mingw-disable-sse.patch
deleted file mode 100644
index ee23632b9..000000000
--- a/contrib/mpeg2dec/P00-mingw-disable-sse.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Index: libmpeg2/cpu_accel.c
-===================================================================
---- mpeg2dec/libmpeg2/cpu_accel.c (revision 1205)
-+++ mpeg2dec/libmpeg2/cpu_accel.c (working copy)
-@@ -111,7 +111,13 @@
-
- cpuid (0x80000000, eax, ebx, ecx, edx);
- if (eax < 0x80000001) /* no extended capabilities */
-- return accel;
-+ {
-+#if defined(__x86_64__)
-+ // SSE code is broken on mingw64, so disable it.
-+ accel &= ~(MPEG2_ACCEL_X86_SSE2|MPEG2_ACCEL_X86_SSE3);
-+#endif
-+ return accel;
-+ }
-
- cpuid (0x80000001, eax, ebx, ecx, edx);
-
-@@ -120,6 +126,10 @@
-
- if (AMD && (edx & 0x00400000)) /* AMD MMX extensions */
- accel |= MPEG2_ACCEL_X86_MMXEXT;
-+#if defined(__x86_64__)
-+ // SSE code is broken on mingw64, so disable it.
-+ accel &= ~(MPEG2_ACCEL_X86_SSE2|MPEG2_ACCEL_X86_SSE3);
-+#endif
- }
- #endif /* ACCEL_DETECT */
-