Mercurial > mplayer.hg
changeset 13606:73086ea05489
fix compilation on macosx with --enable-qtx patch by Zachary Bedell <zaclist@adirondack.net>
author | faust3 |
---|---|
date | Sun, 10 Oct 2004 19:51:18 +0000 |
parents | c971585ddcab |
children | 3d262519187b |
files | libmpcodecs/ad_qtaudio.c libmpcodecs/vd_qtvideo.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_qtaudio.c Sun Oct 10 19:22:38 2004 +0000 +++ b/libmpcodecs/ad_qtaudio.c Sun Oct 10 19:51:18 2004 +0000 @@ -30,7 +30,7 @@ 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;
--- a/libmpcodecs/vd_qtvideo.c Sun Oct 10 19:22:38 2004 +0000 +++ b/libmpcodecs/vd_qtvideo.c Sun Oct 10 19:51:18 2004 +0000 @@ -32,7 +32,7 @@ #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 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);