[Mplayer-cvslog] CVS: main/loader module.c,1.16,1.17

Moritz Bunkus CVS mosu at mplayerhq.hu
Tue Sep 2 16:40:48 CEST 2003


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

Modified Files:
	module.c 
Log Message:
Support for QuickTime6.3 DLLs. Patch by Dima K. <dimakar at yahoo.com>

Index: module.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/module.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- module.c	14 Dec 2002 17:56:21 -0000	1.16
+++ module.c	2 Sep 2003 14:40:16 -0000	1.17
@@ -467,6 +467,15 @@
 		for (i=0;i<5;i++)  ((char *)0x66a73122)[i]=0x90; // jmp_to_call_loadbitmap
 		for (i=0;i<9;i++)  ((char *)0x66a73131)[i]=0x90; // call__calls_OLE_shit
 		for (i=0;i<96;i++) ((char *)0x66aac852)[i]=0x90; // disable threads
+	    } else if (dispatch_addr == (void *)0x6693c3e0)
+	    {
+    		fprintf(stderr, "QuickTime6.3 DLLs found\n");
+		ptr = (void **)0x66bca01c; // dispatcher_ptr
+		for (i=0;i<5;i++)  ((char *)0x66a68f6c)[i]=0x90; // make_new_region
+		for (i=0;i<28;i++) ((char *)0x66a68f97)[i]=0x90; // call__call_CreateCompatibleDC
+		for (i=0;i<5;i++)  ((char *)0x66a68fc2)[i]=0x90; // jmp_to_call_loadbitmap
+		for (i=0;i<9;i++)  ((char *)0x66a68fd1)[i]=0x90; // call__calls_OLE_shit
+		for (i=0;i<96;i++) ((char *)0x66ab4722)[i]=0x90; // disable threads
 	    } else
 	    {
 	        fprintf(stderr, "Unsupported QuickTime version (%p)\n",



More information about the MPlayer-cvslog mailing list