summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-01 22:52:34 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-01 22:52:34 +0000
commit291b0f9557c3db75a672a3ea85fadf2727890ebd (patch)
tree2b28b92cf65ee157e692838ce021390ea7eca1af
parent80cde7663b1661cba488a961ed088f4bcdaa5004 (diff)
downloadxine-lib-291b0f9557c3db75a672a3ea85fadf2727890ebd.tar.gz
xine-lib-291b0f9557c3db75a672a3ea85fadf2727890ebd.tar.bz2
Fix MANGLE macro for libpostproc on Darwin (applied on FFmpeg already). Thanks to Matt Messier for his work on OS X portability.
CVS patchset: 8785 CVS date: 2007/04/01 22:52:34
-rw-r--r--ChangeLog2
-rw-r--r--src/libffmpeg/libavcodec/libpostproc/mangle.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ed220f8e..f55a02252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -42,7 +42,7 @@ xine-lib (1.1.5) (Unreleased)
* Fix support of block devices for AC3 and DTS demuxers. Thanks to Matthias
Kretz for the original patch.
* Portability fixes for Mac OS X, in particular Mac OS X on the new Intel
- Macs. Thanks to Martin Aumueller and Emanuele Giaquinta.
+ Macs. Thanks to Martin Aumueller, Emanuele Giaquinta and Matt Messier.
* Fix amp muting when level is still at 100. Patch by Reinhard Nissl.
* Create at least a 1×1 shared image when the first frame is skipped (and
thus reported as 0×0), to avoid disabling shared memory for all others.
diff --git a/src/libffmpeg/libavcodec/libpostproc/mangle.h b/src/libffmpeg/libavcodec/libpostproc/mangle.h
index aa09cd6bf..46480ab43 100644
--- a/src/libffmpeg/libavcodec/libpostproc/mangle.h
+++ b/src/libffmpeg/libavcodec/libpostproc/mangle.h
@@ -19,6 +19,8 @@
#else
#if defined(ARCH_X86_64) && defined(PIC)
#define MANGLE(a) #a"(%%rip)"
+#elif defined(CONFIG_DARWIN)
+#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif