aboutsummaryrefslogtreecommitdiffstats
path: root/main/ffmpeg/pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ffmpeg/pic.patch')
-rw-r--r--main/ffmpeg/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ffmpeg/pic.patch b/main/ffmpeg/pic.patch
new file mode 100644
index 0000000000..9651f31ef1
--- /dev/null
+++ b/main/ffmpeg/pic.patch
@@ -0,0 +1,11 @@
+--- a/libswscale/rgb2rgb.c 2009-07-10 14:27:39.000000000 +0000
++++ b/libswscale/rgb2rgb.c 2009-07-10 14:53:45.000000000 +0000
+@@ -149,7 +149,7 @@
+ #define RENAME(a) a ## _C
+ #include "rgb2rgb_template.c"
+
+-#if ARCH_X86 && CONFIG_GPL
++#if ARCH_X86 && CONFIG_GPL && !defined(PIC)
+
+ //MMX versions
+ #undef RENAME