[FFmpeg-devel] [PATCH] Do not assume long is same width as x86 register in swscale.

Reimar Döffinger Reimar.Doeffinger
Tue Jan 27 21:08:27 CET 2009


On Tue, Jan 27, 2009 at 05:54:09PM -0200, Ramiro Polla wrote:
> Hi,
> 
> $subj

I think I sent a more extensive patch for that, I just never got around
to test it properly (regression tests were always failing for me back
then), you should be able to find it in the archives...

> @@ -2516,7 +2516,8 @@
>                                         long srcStride1, long srcStride2,
>                                         long dstStride1, long dstStride2)
>  {
> -    long y,x,w,h;
> +    x86_reg y;
> +    long x,w,h;

I think x,w,h are "long" for speed reasons, so they should be x86_reg,
too...




More information about the ffmpeg-devel mailing list