[MPlayer-cvslog] r29767 - trunk/loader/win32.c

reimar subversion at mplayerhq.hu
Sat Oct 10 11:27:23 CEST 2009


Author: reimar
Date: Sat Oct 10 11:27:22 2009
New Revision: 29767

Log:
Implement dummy EncodePointer/DecodePointer functions needed for e.g. lagarith.dll

Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Thu Oct  8 19:44:23 2009	(r29766)
+++ trunk/loader/win32.c	Sat Oct 10 11:27:22 2009	(r29767)
@@ -4836,6 +4836,16 @@ static int exp_1Lockit_dummy(void)
     return 0;
 }
 
+static void * WINAPI expEncodePointer(void *p)
+{
+    return p;
+}
+
+static void * WINAPI expDecodePointer(void *p)
+{
+    return p;
+}
+
 struct exports
 {
     char name[64];
@@ -5011,6 +5021,8 @@ struct exports exp_kernel32[]=
     {"LoadLibraryExA", -1, (void*)&LoadLibraryExA},
     FF(SetThreadIdealProcessor,-1)
     FF(SetProcessAffinityMask, -1)
+    FF(EncodePointer, -1)
+    FF(DecodePointer, -1)
     UNDEFF(FlsAlloc, -1)
     UNDEFF(FlsGetValue, -1)
     UNDEFF(FlsSetValue, -1)


More information about the MPlayer-cvslog mailing list