cygwin win32 dll support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9436 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-02-15 17:45:10 +00:00
parent 399c27aabb
commit c29267aa0b
1 changed files with 3 additions and 5 deletions

View File

@ -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");