# HG changeset patch # User faust3 # Date 1045331110 0 # Node ID 97b30b4b722f7207e9773b217158b7312c6583e6 # Parent d2da6447daac73233a519084ae30856c66153d77 cygwin win32 dll support diff -r d2da6447daac -r 97b30b4b722f libmpcodecs/ve_qtvideo.c --- a/libmpcodecs/ve_qtvideo.c Sat Feb 15 17:29:01 2003 +0000 +++ b/libmpcodecs/ve_qtvideo.c Sat Feb 15 17:45:10 2003 +0000 @@ -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 @@ 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");