changeset 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 60c6e95bf54d
children 771f980eaa49
files loader/module.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;