[FFmpeg-devel] [PATCH] use MANGLE in cavsdsp_mmx.c
Michael Niedermayer
michaelni
Wed Sep 30 20:43:50 CEST 2009
On Wed, Sep 30, 2009 at 05:59:38PM +0200, Reimar D?ffinger wrote:
> Hello,
> since OpenBSD uses PIC and EBP and EBX can't be used, it can't compile cavsdsp_mmx.c.
> While those are "m" constraints, at least some still use up a register.
> Attached is a patch that fixes compilation by using MANGLE on one of the
> variables that is only used in 2 places.
> Personally I'd be in favour to be consistent with other parts of FFmpeg
> and just use MANGLE whereever possible, but that would be a more
> invasive change.
> cavsdsp_mmx.c | 46 +++++++++++++++++++++++-----------------------
> 1 file changed, 23 insertions(+), 23 deletions(-)
> 4a74c024eeae0d22145bf1849fb6dc42a4f041fc cavsmangle.diff
patch ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090930/6bdc4775/attachment.pgp>
More information about the ffmpeg-devel
mailing list