summaryrefslogtreecommitdiffstats
path: root/contrib/patch-ffmpeg-h264dsp-crash.diff
diff options
context:
space:
mode:
authorritsuka <[email protected]>2009-01-01 19:15:25 +0000
committerritsuka <[email protected]>2009-01-01 19:15:25 +0000
commitff2720b7225779ef2ce592c0c9fc674c7d6eb76e (patch)
treee70e4b4048d13a03d367b3b8364d8b6e40883dd1 /contrib/patch-ffmpeg-h264dsp-crash.diff
parent400acd49ab8e2f76e8f624cf75d37e6099de6ffd (diff)
Disable ssse3 h264_qpel optimizations to workaround a crash in h.264 decoder on OS X.
Original patch from the Perian project. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2054 b64f7644-9d1e-0410-96f1-a4d463321fa5
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);