comparison 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
comparison
equal deleted inserted replaced
18627:60c6e95bf54d 18628:ff4455b0bd7c
464 } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==RVA(0x4120)) { 464 } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==RVA(0x4120)) {
465 // looks like VP 6.2.0.10 465 // looks like VP 6.2.0.10
466 for (i=0;i<6;i++) RVA(0x7688)[i]=0x90; 466 for (i=0;i<6;i++) RVA(0x7688)[i]=0x90;
467 for (i=0;i<6;i++) RVA(0x82c3)[i]=0x90; 467 for (i=0;i<6;i++) RVA(0x82c3)[i]=0x90;
468 for (i=0;i<6;i++) RVA(0x84aa)[i]=0x90; 468 for (i=0;i<6;i++) RVA(0x84aa)[i]=0x90;
469 for (i=0;i<6;i++) RVA(0x1d2cc)[i]=0x90;
470 for (i=0;i<6;i++) RVA(0x2179d)[i]=0x90;
471 for (i=0;i<6;i++) RVA(0x1977f)[i]=0x90;
469 } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==RVA(0x3e70)) { 472 } else if (PE_FindExportedFunction(wm, "DriverProc", TRUE)==RVA(0x3e70)) {
470 // looks like VP 6.0.7.3 473 // looks like VP 6.0.7.3
471 for (i=0;i<6;i++) RVA(0x7559)[i]=0x90; 474 for (i=0;i<6;i++) RVA(0x7559)[i]=0x90;
472 for (i=0;i<6;i++) RVA(0x81c3)[i]=0x90; 475 for (i=0;i<6;i++) RVA(0x81c3)[i]=0x90;
473 for (i=0;i<6;i++) RVA(0x839e)[i]=0x90; 476 for (i=0;i<6;i++) RVA(0x839e)[i]=0x90;