[Mplayer-cvslog] CVS: main/loader win32.c,1.3,1.4
GEREOFFY
arpi_esp at users.sourceforge.net
Sun Mar 18 03:01:34 CET 2001
Update of /cvsroot/mplayer/main/loader
In directory usw-pr-cvs1:/tmp/cvs-serv6624
Modified Files:
win32.c
Log Message:
crtdll/memcpy added (req for MJPEG)
Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** win32.c 2001/03/18 01:01:02 1.3
--- win32.c 2001/03/18 02:01:32 1.4
***************
*** 1576,1580 ****
char qq[256];
int result;
! printf("They want library %s\n", def_path, name);
if(strncmp(name, "c:\\windows\\", 11)==0)name+=11;
if(name[0]!='/')
--- 1576,1580 ----
char qq[256];
int result;
! printf("They want library [%s] %s\n", def_path, name);
if(strncmp(name, "c:\\windows\\", 11)==0)name+=11;
if(name[0]!='/')
***************
*** 1587,1593 ****
strcat(qq, name);
}
! dbgprintf("Entering LoadLibraryA(%s)\n", name);
result=LoadLibraryA(qq);
! dbgprintf("Returned LoadLibraryA(0x%x='%s'), def_path=%s => 0x%x\n", name, name, def_path, result);
return result;
}
--- 1587,1593 ----
strcat(qq, name);
}
! printf("Entering LoadLibraryA(%s)\n", name);
result=LoadLibraryA(qq);
! printf("Returned LoadLibraryA(0x%x='%s'), def_path=%s => 0x%x\n", name, name, def_path, result);
return result;
}
***************
*** 1875,1878 ****
--- 1875,1884 ----
return result;
}
+ int expmemcpy(void* dest, void* src, int n)
+ {
+ int result=memcpy(dest, src, n);
+ dbgprintf("memcpy(0x%x, 0x%x, %d) => %x\n", dest, src, n, result);
+ return result;
+ }
time_t exptime(time_t* t)
{
***************
*** 2477,2480 ****
--- 2483,2487 ----
FF(memmove, -1)
FF(memcmp, -1)
+ //FF(memcpy, -1)
FF(time, -1)
};
***************
*** 2519,2522 ****
--- 2526,2533 ----
FF(StringFromGUID2, -1)
};
+ struct exports exp_crtdll[]={
+ FF(memcpy, -1)
+ };
+
#define LL(X) \
{#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X},
***************
*** 2531,2534 ****
--- 2542,2546 ----
LL(version)
LL(ole32)
+ LL(crtdll)
};
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list