[Mplayer-cvslog] CVS: main/loader module.c,1.19,1.20

Roberto Togni CVS syncmail at mplayerhq.hu
Tue May 4 23:21:00 CEST 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv4907

Modified Files:
	module.c 
Log Message:
Support vp6vfw.dll version 6.0.7.3


Index: module.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/module.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- module.c	18 Mar 2004 22:00:30 -0000	1.19
+++ module.c	4 May 2004 21:20:58 -0000	1.20
@@ -449,6 +449,11 @@
             for (i=0;i<6;i++) ((char*)0x10007688)[i]=0x90;
             for (i=0;i<6;i++) ((char*)0x100082c3)[i]=0x90;
             for (i=0;i<6;i++) ((char*)0x100084aa)[i]=0x90;
+          } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==(void*)0x10003e70) {
+            // looks like VP 6.0.7.3
+            for (i=0;i<6;i++) ((char*)0x10007559)[i]=0x90;
+            for (i=0;i<6;i++) ((char*)0x100081c3)[i]=0x90;
+            for (i=0;i<6;i++) ((char*)0x1000839e)[i]=0x90;
           } else {
             fprintf(stderr, "Unsupported VP6 version\n");
             return 0;




More information about the MPlayer-cvslog mailing list