[Mplayer-cvslog] CVS: main/loader win32.c,1.25,1.26
Arpi of Ize
arpi at mplayer.dev.hu
Sun Nov 4 01:46:14 CET 2001
Update of /cvsroot/mplayer/main/loader
In directory mplayer:/var/tmp.root/cvs-serv28110
Modified Files:
win32.c
Log Message:
KERNEL32 fix for ivvideo and strncmp for U263
Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- win32.c 3 Nov 2001 19:40:38 -0000 1.25
+++ win32.c 4 Nov 2001 00:46:12 -0000 1.26
@@ -1961,6 +1961,11 @@
// we skip to the last backslash
// this is effectively eliminating weird characters in
// the text output windows
+
+ if (strcmp(name, "KERNEL32") == 0){
+ printf("expLoadLibraryA('%s')\n",name);
+ return (int) LookupExternal(name, 0);
+ }
lastbc = strrchr(name, '\\');
if (lastbc)
@@ -2310,6 +2315,12 @@
dbgprintf("strcmp(0x%x='%s', 0x%x='%s') => %d\n", str1, str1, str2, str2, result);
return result;
}
+int expstrncmp(const char* str1, const char* str2,int x)
+{
+ int result=strncmp(str1, str2,x);
+ dbgprintf("strcmp(0x%x='%s', 0x%x='%s') => %d\n", str1, str1, str2, str2, result);
+ return result;
+}
int expstrcat(char* str1, const char* str2)
{
int result= (int) strcat(str1, str2);
@@ -3131,6 +3142,7 @@
FF(strlen, -1)
FF(strcpy, -1)
FF(strcmp, -1)
+FF(strncmp, -1)
FF(strcat, -1)
FF(isalnum, -1)
FF(memmove, -1)
More information about the MPlayer-cvslog
mailing list