diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-04 21:20:58 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-04 21:20:58 +0000 |
commit | 23f3f1f807f6562ec21729987744ef240e4fa2d6 (patch) | |
tree | a97110a8d231c31d014863b20f4e5c0ea19f992b /loader | |
parent | 15e04cb25108675c1d6942a9140c7d33a27b1029 (diff) |
Support vp6vfw.dll version 6.0.7.3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12423 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/loader/module.c b/loader/module.c index da6e1edbb9..836337e97a 100644 --- a/loader/module.c +++ b/loader/module.c @@ -449,6 +449,11 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) 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; |