aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-ffmpeg/pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gst-ffmpeg/pic.patch')
-rw-r--r--main/gst-ffmpeg/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gst-ffmpeg/pic.patch b/main/gst-ffmpeg/pic.patch
new file mode 100644
index 0000000000..3a7268e61b
--- /dev/null
+++ b/main/gst-ffmpeg/pic.patch
@@ -0,0 +1,11 @@
+--- ./gst-libs/ext/ffmpeg/libswscale/rgb2rgb.c.orig
++++ ./gst-libs/ext/ffmpeg/libswscale/rgb2rgb.c
+@@ -159,7 +159,7 @@
+ #define RENAME(a) a ## _C
+ #include "rgb2rgb_template.c"
+
+-#if ARCH_X86
++#if ARCH_X86 && !defined(PIC)
+
+ //MMX versions
+ #undef RENAME