diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-15 17:45:10 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-15 17:45:10 +0000 |
commit | c29267aa0b9147f5a1dbde6f411066d2cbf89ece (patch) | |
tree | 7630ed12e6285f0a7ace9f907d04a8844f8133af /libmpcodecs | |
parent | 399c27aabbe8f495fcf9fc350b7f869e26b6e9be (diff) |
cygwin win32 dll support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9436 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ve_qtvideo.c | 8 |
1 files changed, 3 insertions, 5 deletions
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"); |