summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_qtaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ad_qtaudio.c')
-rw-r--r--libmpcodecs/ad_qtaudio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libmpcodecs/ad_qtaudio.c b/libmpcodecs/ad_qtaudio.c
index 9caea3cf78..141079f9ba 100644
--- a/libmpcodecs/ad_qtaudio.c
+++ b/libmpcodecs/ad_qtaudio.c
@@ -6,7 +6,6 @@
#include "config.h"
#include "mp_msg.h"
-#if defined(USE_QTX_CODECS) || defined(MACOSX)
#include "wine/windef.h"
#include "ad_internal.h"
@@ -30,7 +29,7 @@ static ad_info_t info = {
LIBAD_EXTERN(qtaudio)
-#if defined(USE_QTX_CODECS) && !defined(MACOSX)
+#if !defined(MACOSX)
typedef struct OpaqueSoundConverter* SoundConverter;
typedef unsigned long OSType;
typedef unsigned long UnsignedFixed;
@@ -164,7 +163,7 @@ static int loader_init()
mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"loader_init DONE???\n");
return 0;
}
-#endif /* USE_QTX_CODECS */
+#endif /* #if !defined(MACOSX) */
static SoundConverter myConverter = NULL;
static SoundComponentData InputFormatInfo,OutputFormatInfo;
@@ -334,5 +333,3 @@ static int control(sh_audio_t *sh,int cmd,void* arg, ...){
// various optional functions you MAY implement:
return CONTROL_UNKNOWN;
}
-
-#endif