[Mplayer-cvslog] CVS: main/loader win32.c,1.42,1.43

Arpi of Ize arpi at mplayer.dev.hu
Sun Dec 23 17:14:15 CET 2001


Update of /cvsroot/mplayer/main/loader
In directory mplayer:/var/tmp.root/cvs-serv9616

Modified Files:
	win32.c 
Log Message:
fixes for vdub plugin support - by Fredrik Kuivinen <freku045 at student.liu.se>

Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- win32.c	17 Dec 2001 00:57:50 -0000	1.42
+++ win32.c	23 Dec 2001 16:14:13 -0000	1.43
@@ -522,7 +522,7 @@
     }
     if(!result)
     {
-	if(strcasecmp(name, "kernel32")==0)
+	if(name && strcasecmp(name, "kernel32")==0)
 	    result=MODULE_HANDLE_kernel32;
     }
     dbgprintf("GetModuleHandleA('%s') => 0x%x\n", name, result);
@@ -3300,6 +3300,24 @@
     dbgprintf("isalnum(0x%x='%c' => %d\n", c, c, result);
     return result;
 }
+static int expisspace(int c)
+{
+    int result= (int) isspace(c);
+    dbgprintf("isspace(0x%x='%c' => %d\n", c, c, result);
+    return result;
+}
+static int expisalpha(int c)
+{
+    int result= (int) isalpha(c);
+    dbgprintf("isalpha(0x%x='%c' => %d\n", c, c, result);
+    return result;
+}
+static int expisdigit(int c)
+{
+    int result= (int) isdigit(c);
+    dbgprintf("isdigit(0x%x='%c' => %d\n", c, c, result);
+    return result;
+}
 static void* expmemmove(void* dest, void* src, int n)
 {
     void* result = memmove(dest, src, n);
@@ -3318,6 +3336,12 @@
     dbgprintf("memcpy(0x%x, 0x%x, %d) => %p\n", dest, src, n, result);
     return result;
 }
+static void* expmemset(void* dest, int c, size_t n)
+{
+    void *result = memset(dest, c, n);
+    dbgprintf("memset(0x%x, %d, %d) => %p\n", dest, c, n, result);
+    return result;
+}
 static time_t exptime(time_t* t)
 {
     time_t result = time(t);
@@ -3624,8 +3648,13 @@
     FF(_strdup,-1)
     FF(_setjmp3,-1)
     FF(isalnum, -1)
+    FF(isspace, -1)
+    FF(isalpha, -1)
+    FF(isdigit, -1)
     FF(memmove, -1)
     FF(memcmp, -1)
+    FF(memset, -1)
+    FF(memcpy, -1)
     FF(time, -1)
     FF(rand, -1)
     FF(srand, -1)




More information about the MPlayer-cvslog mailing list