From 4d130db78742ce8693e105c0b9869e1a776dd75f Mon Sep 17 00:00:00 2001 From: banan Date: Wed, 7 Jun 2006 18:18:57 +0000 Subject: Nop some instructions causing the vfwvp6 dll encoder to crash. Now mencoder input.avi -ovc vfw -xvfwopts codec=vp6vfw.dll -o done.avi should work. VP6 in flv doesn't work yet. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18629 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/module.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'loader/module.c') diff --git a/loader/module.c b/loader/module.c index 46af4160e5..71481d2985 100644 --- a/loader/module.c +++ b/loader/module.c @@ -466,6 +466,9 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) for (i=0;i<6;i++) RVA(0x7688)[i]=0x90; for (i=0;i<6;i++) RVA(0x82c3)[i]=0x90; for (i=0;i<6;i++) RVA(0x84aa)[i]=0x90; + for (i=0;i<6;i++) RVA(0x1d2cc)[i]=0x90; + for (i=0;i<6;i++) RVA(0x2179d)[i]=0x90; + for (i=0;i<6;i++) RVA(0x1977f)[i]=0x90; } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==RVA(0x3e70)) { // looks like VP 6.0.7.3 for (i=0;i<6;i++) RVA(0x7559)[i]=0x90; -- cgit v1.2.3