summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-10 19:51:18 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-10 19:51:18 +0000
commitbd20b62b08e0d7411ebbfc3513949ebcdd315a92 (patch)
treeff9b3d03d417c6d83a4cc798c079d79650f3f779 /libmpcodecs
parent7c070e6d508afc08f053fe64c745853155e81de7 (diff)
downloadmpv-bd20b62b08e0d7411ebbfc3513949ebcdd315a92.tar.bz2
mpv-bd20b62b08e0d7411ebbfc3513949ebcdd315a92.tar.xz
fix compilation on macosx with --enable-qtx patch by Zachary Bedell <zaclist@adirondack.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13607 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_qtaudio.c2
-rw-r--r--libmpcodecs/vd_qtvideo.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/ad_qtaudio.c b/libmpcodecs/ad_qtaudio.c
index c595f2cad4..75d60acfe4 100644
--- a/libmpcodecs/ad_qtaudio.c
+++ b/libmpcodecs/ad_qtaudio.c
@@ -30,7 +30,7 @@ static ad_info_t info = {
LIBAD_EXTERN(qtaudio)
-#ifdef USE_QTX_CODECS
+#if defined(USE_QTX_CODECS) && !defined(MACOSX)
typedef struct OpaqueSoundConverter* SoundConverter;
typedef unsigned long OSType;
typedef unsigned long UnsignedFixed;
diff --git a/libmpcodecs/vd_qtvideo.c b/libmpcodecs/vd_qtvideo.c
index c261511e8b..8ef37d6101 100644
--- a/libmpcodecs/vd_qtvideo.c
+++ b/libmpcodecs/vd_qtvideo.c
@@ -32,7 +32,7 @@ LIBVD_EXTERN(qtvideo)
#include "qtx/qtxsdk/components.h"
#endif
-#ifdef USE_QTX_CODECS
+#if defined(USE_QTX_CODECS) && !defined(MACOSX)
//#include "wine/windef.h"
HMODULE WINAPI LoadLibraryA(LPCSTR);
@@ -55,7 +55,7 @@ static ImageDescriptionHandle framedescHandle;
//static HINSTANCE qtml_dll;
static HMODULE handler;
-#ifdef USE_QTX_CODECS
+#if defined(USE_QTX_CODECS) && !defined(MACOSX)
static Component (*FindNextComponent)(Component prev,ComponentDescription* desc);
static OSErr (*GetComponentInfo)(Component prev,ComponentDescription* desc,Handle h1,Handle h2,Handle h3);
static long (*CountComponents)(ComponentDescription* desc);