summaryrefslogtreecommitdiffstats
path: root/loader/driver.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-18 01:01:03 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-18 01:01:03 +0000
commitd71e31d0f702ebf8f872694f6e0f5d579c8378d3 (patch)
treeb8a816661c678a08769b45d34b394b1b5d04f134 /loader/driver.c
parent52d76c5f328bdb0268d266b21f91aac571b443f6 (diff)
downloadmpv-d71e31d0f702ebf8f872694f6e0f5d579c8378d3.tar.bz2
mpv-d71e31d0f702ebf8f872694f6e0f5d579c8378d3.tar.xz
DLL loader updated from avifile-0.60beta4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@129 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/driver.c')
-rw-r--r--loader/driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/loader/driver.c b/loader/driver.c
index d682bd295c..bc5143d73a 100644
--- a/loader/driver.c
+++ b/loader/driver.c
@@ -13,8 +13,8 @@
#include <wine/vfw.h>
#include <registry.h>
-//#include "com.h"
-//typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
+#include "com.h"
+typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
#ifdef __FreeBSD__
@@ -118,7 +118,7 @@ void DrvClose(HDRVR hdrvr)
}
-char* def_path=WIN32_PATH; // path to codecs
+extern char* def_path; //=WIN32_PATH; // path to codecs
char* win32_codec_name=NULL; // must be set before calling DrvOpen() !!!
HDRVR
@@ -155,7 +155,7 @@ DrvOpen(LPARAM lParam2)
if (!(npDriver->DriverProc = (DRIVERPROC)
GetProcAddress(npDriver->hDriverModule, "DriverProc"))) {
-#if 1
+#if 0
printf("Library %s is not a VfW/ACM valid codec\n", win32_codec_name);
#else
// Try DirectShow...