[MPlayer-cvslog] r31414 - in trunk: libmpcodecs/ad_qtaudio.c libmpcodecs/vd_qtvideo.c libmpcodecs/ve_qtvideo.c libmpdemux/demux_avs.c

diego subversion at mplayerhq.hu
Mon Jun 14 16:35:57 CEST 2010


Author: diego
Date: Mon Jun 14 16:35:57 2010
New Revision: 31414

Log:
Replace forward declarations by proper loader/wine/winbase.h #include.

Modified:
   trunk/libmpcodecs/ad_qtaudio.c
   trunk/libmpcodecs/vd_qtvideo.c
   trunk/libmpcodecs/ve_qtvideo.c
   trunk/libmpdemux/demux_avs.c

Modified: trunk/libmpcodecs/ad_qtaudio.c
==============================================================================
--- trunk/libmpcodecs/ad_qtaudio.c	Mon Jun 14 16:19:58 2010	(r31413)
+++ trunk/libmpcodecs/ad_qtaudio.c	Mon Jun 14 16:35:57 2010	(r31414)
@@ -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 SoundConverterBeginConver
 
 #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)
 {
 

Modified: trunk/libmpcodecs/vd_qtvideo.c
==============================================================================
--- trunk/libmpcodecs/vd_qtvideo.c	Mon Jun 14 16:19:58 2010	(r31413)
+++ trunk/libmpcodecs/vd_qtvideo.c	Mon Jun 14 16:35:57 2010	(r31414)
@@ -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 framedescH
 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);

Modified: trunk/libmpcodecs/ve_qtvideo.c
==============================================================================
--- trunk/libmpcodecs/ve_qtvideo.c	Mon Jun 14 16:19:58 2010	(r31413)
+++ trunk/libmpcodecs/ve_qtvideo.c	Mon Jun 14 16:35:57 2010	(r31414)
@@ -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;
 

Modified: trunk/libmpdemux/demux_avs.c
==============================================================================
--- trunk/libmpdemux/demux_avs.c	Mon Jun 14 16:19:58 2010	(r31413)
+++ trunk/libmpdemux/demux_avs.c	Mon Jun 14 16:35:57 2010	(r31414)
@@ -33,6 +33,7 @@
 #include "stheader.h"
 #include "libvo/fastmemcpy.h"
 
+#include "loader/wine/winbase.h"
 #include "loader/wine/windef.h"
 
 #ifdef WIN32_LOADER
@@ -43,10 +44,6 @@
 
 #define MAX_AVS_SIZE    16 * 1024 /* 16k should be enough */
 
-HMODULE WINAPI LoadLibraryA(LPCSTR);
-FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
-int     WINAPI FreeLibrary(HMODULE);
-
 typedef WINAPI AVS_ScriptEnvironment* (*imp_avs_create_script_environment)(int version);
 typedef WINAPI AVS_Value (*imp_avs_invoke)(AVS_ScriptEnvironment *, const char * name, AVS_Value args, const char** arg_names);
 typedef WINAPI const AVS_VideoInfo *(*imp_avs_get_video_info)(AVS_Clip *);


More information about the MPlayer-cvslog mailing list