gecko/media/liboggplay/yuv_disable_optimized.patch

17 lines
694 B
Diff
Raw Normal View History

diff --git a/media/liboggplay/src/liboggplay/oggplay_yuv2rgb.c b/media/liboggplay/src/liboggplay/oggplay_yuv2rgb.c
index 8ace308..0e2cef0 100644
--- a/media/liboggplay/src/liboggplay/oggplay_yuv2rgb.c
+++ b/media/liboggplay/src/liboggplay/oggplay_yuv2rgb.c
@@ -54,7 +54,10 @@
* V = 0.615 R - 0.515 G - 0.100 B
*/
-#if defined(__MMX__) || defined(__SSE__) || defined(__SSE2__) || defined(__SSE3__)
+// Optimized YUV to RGB conversion routine disabled due to generating
+// incorrect colours. See Annodex trac ticket 421:
+// http://trac.annodex.net/ticket/421
+#if 0 //defined(__MMX__) || defined(__SSE__) || defined(__SSE2__) || defined(__SSE3__)
#if defined(WIN32)
#define restrict