summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/P02-darwin-h264dsp-crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/P02-darwin-h264dsp-crash.patch')
-rw-r--r--contrib/ffmpeg/P02-darwin-h264dsp-crash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/ffmpeg/P02-darwin-h264dsp-crash.patch b/contrib/ffmpeg/P02-darwin-h264dsp-crash.patch
new file mode 100644
index 000000000..53b5cf09d
--- /dev/null
+++ b/contrib/ffmpeg/P02-darwin-h264dsp-crash.patch
@@ -0,0 +1,13 @@
+Index: ffmpeg/libavcodec/i386/dsputil_mmx.c
+===================================================================
+--- ffmpeg/libavcodec/i386/dsputil_mmx.c (revision 14508)
++++ ffmpeg/libavcodec/i386/dsputil_mmx.c (working copy)
+@@ -2626,6 +2626,8 @@
+ H264_QPEL_FUNCS(3, 2, sse2);
+ H264_QPEL_FUNCS(3, 3, sse2);
+ }
++#undef H264_QPEL_FUNCS
++#define H264_QPEL_FUNCS(x, y, CPU)
+ #ifdef HAVE_SSSE3
+ if(mm_flags & MM_SSSE3){
+ H264_QPEL_FUNCS(1, 0, ssse3);