[Mplayer-advusers] [BUG] -vf scale crashes in asm

Michael Niedermayer michaelni at gmx.at
Thu Oct 21 23:57:26 CEST 2004


Hi

On Thursday 21 October 2004 17:25, Jan Knutar wrote:
> Probably related to recent AMD64 patches...
>
> Originally discovered by a user on #mplayer wishing to remain
> anonymous due to pyrophobia. Wasn't able to reproduce reported
> image corruption, -vf scale just crashes for me on my P3.
[...]
> Dump of assembler code from 0x81b31b8 to 0x81b31f8:
> 0x081b31b8 <swScale_MMX2+2804>: add    %cl,0x27bc(%ebp)
> 0x081b31be <swScale_MMX2+2810>: add    %al,(%eax)
> 0x081b31c0 <swScale_MMX2+2812>: movzww (%edx,%ebp,1),%ax
> 0x081b31c5 <swScale_MMX2+2817>: movzww 0x2(%edx,%ebp,1),%bx

the gnu assembler rules, nothing except it would assemble
movzxw (%2, %%ebp), %%eax
into
movzww (%2, %%ebp), %%ax

[...]
-- 
Michael

"I do not agree with what you have to say, but I'll defend to the death your
right to say it." -- Voltaire




More information about the MPlayer-advusers mailing list