[FFmpeg-devel] [PATCH] VC-1 MMX DSP functions

Zuxy Meng zuxy.meng
Sat Jul 7 15:21:43 CEST 2007


Hi,

2007/7/7, Christophe GISQUET <christophe.gisquet at free.fr>:
> Hello,
>
> infernix a ?crit :
> > This breaks compilation on Debian Etch x86_64. I'm unsure if this is
> > expected behavior though.
>
> I have no 64bits machine to test it on, so your reports are welcome.
>
> > /tmp/ccaopxZe.s:25763: Error: `0(%rdx,%ecx)' is not a valid base/index
> > expression
>
> int where long int should be used. This probably was in the first patch,
> but I forgot to reinsert a cast when refactoring vc1dsp_mmx.c.

long only works for LP64; intptr_t is safer.
>
> The patch attached should fix that.



-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the ffmpeg-devel mailing list