diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-14 14:35:57 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:07:44 +0200 |
commit | a7bc7d8e63e15455b350ceb8683ab5d1581f524d (patch) | |
tree | a3d02cd884cf724c31e3fcb2f262dc9132a903bc /libmpcodecs | |
parent | 8177dc6d45ed1e44bfc32ac79a0e486d2434c5a7 (diff) |
cleanup: #include loader/wine/winbase.h instead of local declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31414 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ad_qtaudio.c | 5 | ||||
-rw-r--r-- | libmpcodecs/vd_qtvideo.c | 4 | ||||
-rw-r--r-- | libmpcodecs/ve_qtvideo.c | 5 |
3 files changed, 4 insertions, 10 deletions
diff --git a/libmpcodecs/ad_qtaudio.c b/libmpcodecs/ad_qtaudio.c index fb308c2d2c..d171c1620c 100644 --- a/libmpcodecs/ad_qtaudio.c +++ b/libmpcodecs/ad_qtaudio.c @@ -30,6 +30,7 @@ #include <QuickTime/QuickTimeComponents.h> #else #include "loader/ldt_keeper.h" +#include "loader/wine/winbase.h" #include "loader/wine/windef.h" #endif @@ -95,10 +96,6 @@ static LPFUNC9 SoundConverterBeginConversion; #define siDecompressionParams 2002876005 // siDecompressionParams = FOUR_CHAR_CODE('wave') -HMODULE WINAPI LoadLibraryA(LPCSTR); -FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR); -int WINAPI FreeLibrary(HMODULE); - static int loader_init(void) { diff --git a/libmpcodecs/vd_qtvideo.c b/libmpcodecs/vd_qtvideo.c index 18c769e32c..6032a57f8d 100644 --- a/libmpcodecs/vd_qtvideo.c +++ b/libmpcodecs/vd_qtvideo.c @@ -31,6 +31,7 @@ #else #include "loader/ldt_keeper.h" #include "loader/qtx/qtxsdk/components.h" +#include "loader/wine/winbase.h" #include "loader/wine/windef.h" #endif @@ -52,9 +53,6 @@ static ImageDescriptionHandle framedescHandle; static ImageSequence imageSeq; #ifndef CONFIG_QUICKTIME -HMODULE WINAPI LoadLibraryA(LPCSTR); -FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR); -int WINAPI FreeLibrary(HMODULE); static HINSTANCE qtime_qts; // handle to the preloaded quicktime.qts static HMODULE handler; static OSErr (*InitializeQTML)(long flags); diff --git a/libmpcodecs/ve_qtvideo.c b/libmpcodecs/ve_qtvideo.c index a6773e31ca..59b8731c93 100644 --- a/libmpcodecs/ve_qtvideo.c +++ b/libmpcodecs/ve_qtvideo.c @@ -35,6 +35,7 @@ #endif #include "loader/qtx/qtxsdk/components.h" +#include "loader/wine/winbase.h" #include "loader/wine/windef.h" #include "codec-cfg.h" @@ -49,9 +50,7 @@ #include "mp_image.h" #include "vf.h" -HMODULE WINAPI LoadLibraryA(LPCSTR); -FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR); -int WINAPI FreeLibrary(HMODULE); + static HINSTANCE qtime_qts; //handle to preloaded quicktime.qts static HMODULE handler; |