summaryrefslogtreecommitdiffstats
path: root/src/x264-1-ifdef.patch
diff options
context:
space:
mode:
authorDi Appoggio <diappoggio@gmail.com>2010-09-20 12:04:43 (GMT)
committerDi Appoggio <diappoggio@gmail.com>2010-09-20 12:04:43 (GMT)
commitb20525341ff1866023ca97366f359d1a6f1dca1b (patch)
tree040435b3c00ad0e7498f5b441cd6aff2fb1abff0 /src/x264-1-ifdef.patch
parent1890e67af42c1a1ce3ef14b8c46041c380bc8870 (diff)
downloadmxe-b20525341ff1866023ca97366f359d1a6f1dca1b.zip
mxe-b20525341ff1866023ca97366f359d1a6f1dca1b.tar.gz
mxe-b20525341ff1866023ca97366f359d1a6f1dca1b.tar.bz2
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Diffstat (limited to 'src/x264-1-ifdef.patch')
-rw-r--r--src/x264-1-ifdef.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/x264-1-ifdef.patch b/src/x264-1-ifdef.patch
new file mode 100644
index 0000000..6d0e6f7
--- /dev/null
+++ b/src/x264-1-ifdef.patch
@@ -0,0 +1,21 @@
+diff -Nru x264-snapshot-20100706-2245.orig/x264.c x264-snapshot-20100706-2245/x264.c
+--- x264-snapshot-20100706-2245.orig/x264.c 2010-07-07 09:33:15.555062464 +0200
++++ x264-snapshot-20100706-2245/x264.c 2010-07-07 09:33:45.155061361 +0200
+@@ -195,7 +195,7 @@
+ cli_opt_t opt;
+ int ret;
+
+-#if PTW32_STATIC_LIB
++#ifdef PTW32_STATIC_LIB
+ pthread_win32_process_attach_np();
+ pthread_win32_thread_attach_np();
+ #endif
+@@ -214,7 +214,7 @@
+
+ ret = Encode( &param, &opt );
+
+-#if PTW32_STATIC_LIB
++#ifdef PTW32_STATIC_LIB
+ pthread_win32_thread_detach_np();
+ pthread_win32_process_detach_np();
+ #endif