mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
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
This commit is contained in:
parent
1b0dd2f656
commit
4d130db787
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user