[Mplayer-dev-eng] VP3 Codec

Felix Buenemann atmosfear at users.sourceforge.net
Sat Sep 22 00:03:01 CEST 2001


On Friday, 21. September 2001 20:59, Arpi wrote:
> Hi,
>
> > 0x10004bd0:     push   %esi
> > 0x10004bd1:     push   %edi
> > 0x10004bd2:     push   %ebp
> > 0x10004bd3:     push   %ebx
> > 0x10004bd4:     push   %ecx
> > 0x10004bd5:     push   %edx
> > 0x10004bd6:     mov    %cr0,%edx
>
> ehh...
> it manupulates the machine control registers...
> it's privileged! i think this codec won't work with winnt/2000/xp.
it works on Windows XP, although I only get black and white picture in 
Windows Media Player 6.4, in Windows Media Player 8 it worx in color.

>
> we could try to replace these with NOP.
>
=) Why use sourcecode if we can hack the binary, hehe.

> > 0x10004bd9:     bt     $0x2,%edx
> > 0x10004bdd:     jb     0x10004bef
> > 0x10004bdf:     mov    %cr4,%edx
> > 0x10004be2:     bt     $0x9,%edx
> > 0x10004be6:     jae    0x10004bef
> > 0x10004be8:     mov    $0x1,%eax
> >
> > 0x10004bed:     jmp    0x10004bef
> > 0x10004bef:     pop    %edx
>
> hehe, well-optimized code =)
>
> > 0x10004bf0:     pop    %ecx
> > 0x10004bf1:     pop    %ebx
> > 0x10004bf2:     pop    %ebp
> > 0x10004bf3:     pop    %edi
> > 0x10004bf4:     pop    %esi
> > 0x10004bf5:     ret
>
> A'rpi / Astral & ESP-team

-- 
Best Regards,
	Atmos

_____
World Domination, Fast!
	- MPlayer Enterprises



More information about the MPlayer-dev-eng mailing list