diff loader/driver.c @ 128:28091b3caff9

DLL loader updated from avifile-0.60beta4
author arpi_esp
date Sun, 18 Mar 2001 01:01:03 +0000
parents 3b5f5d1c5041
children b2dfe79ffb9f
line wrap: on
line diff
--- a/loader/driver.c	Sun Mar 18 00:31:18 2001 +0000
+++ b/loader/driver.c	Sun Mar 18 01:01:03 2001 +0000
@@ -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 @@
 }
 
 
-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 @@
    
     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...