From c29267aa0b9147f5a1dbde6f411066d2cbf89ece Mon Sep 17 00:00:00 2001 From: faust3 Date: Sat, 15 Feb 2003 17:45:10 +0000 Subject: cygwin win32 dll support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9436 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_qtvideo.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_qtvideo.c b/libmpcodecs/ve_qtvideo.c index 57b28dfbc7..81d5c6812d 100644 --- a/libmpcodecs/ve_qtvideo.c +++ b/libmpcodecs/ve_qtvideo.c @@ -12,7 +12,7 @@ #include "../mp_msg.h" #include "../bswap.h" -#ifdef USE_WIN32DLL +#ifdef WIN32_LOADER #include "ldt_keeper.h" #endif @@ -20,10 +20,6 @@ #include "../loader/qtx/qtxsdk/components.h" #include "wine/windef.h" -#ifdef USE_WIN32DLL -#include "ldt_keeper.h" -#endif - #include "codec-cfg.h" #include "stream.h" #include "demuxer.h" @@ -296,7 +292,9 @@ static int vf_open(vf_instance_t *vf, char* args){ mux_v->bih->biBitCount=24; +#ifdef WIN32_LOADER Setup_LDT_Keeper(); +#endif handler = LoadLibraryA("qtmlClient.dll"); InitializeQTML = (OSErr (*)(long))GetProcAddress(handler, "InitializeQTML"); GetGWorldPixMap = (PixMapHandle (*)(GWorldPtr))GetProcAddress(handler, "GetGWorldPixMap"); -- cgit v1.2.3