[MPlayer-dev-eng] [PATCH] cleanup swscale usage

Zuxy Meng zuxy.meng at gmail.com
Tue May 9 14:40:23 CEST 2006


Hi,

2006/5/9, Jason Tackaberry <tack at urandom.ca>:
> Hi Luca,
>
> Some time ago I looked at porting swscale to xine as a shared library.
> One of the requirements is that it had to compile with -fPIC (for
> x86_64).  This involved changing the code not to clobber the ebx
> register.  I've attached a patch that does this.  It's against an older
> version of swscaler so might not apply cleanly to recent cvs, but should
> give you an idea.
>

x86_64 ABI still uses rbx for referencing GOT? I thought rip-relative
would be used.

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




More information about the MPlayer-dev-eng mailing list