Support for QuickTime6.3 DLLs. Patch by Dima K. <dimakar@yahoo.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10796 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-09-02 14:40:16 +00:00
parent c050413677
commit c320d92ce4
1 changed files with 9 additions and 0 deletions

View File

@ -467,6 +467,15 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
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",