summaryrefslogtreecommitdiffstats
path: root/contrib/patch-ffmpeg-h264dsp-crash.diff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/patch-ffmpeg-h264dsp-crash.diff')
-rw-r--r--contrib/patch-ffmpeg-h264dsp-crash.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/patch-ffmpeg-h264dsp-crash.diff b/contrib/patch-ffmpeg-h264dsp-crash.diff
new file mode 100644
index 000000000..53b5cf09d
--- /dev/null
+++ b/contrib/patch-ffmpeg-h264dsp-crash.diff
@@ -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);