diff loader/module.c @ 18628:ff4455b0bd7c

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.
author banan
date Wed, 07 Jun 2006 18:18:57 +0000
parents 8a1439ab0d51
children 0783dd397f74
line wrap: on
line diff
--- a/loader/module.c	Wed Jun 07 17:31:14 2006 +0000
+++ b/loader/module.c	Wed Jun 07 18:18:57 2006 +0000
@@ -466,6 +466,9 @@
             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;