[FFmpeg-devel] [PATCH] use MANGLE in cavsdsp_mmx.c

Måns Rullgård mans
Wed Sep 30 18:16:07 CEST 2009

Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> 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.

Here's a patch I had sitting around which changes some h264 asm to use
mangle.  IIRC it works on Linux with modern compilers.  It may or may
not fix some problem somewhere.

M?ns Rullg?rd
mans at mansr.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_x86_mangle.patch
Type: text/x-patch
Size: 3668 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090930/ab91a4ec/attachment.bin>

More information about the ffmpeg-devel mailing list