[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz

Guillaume POIRIER poirierg at gmail.com
Mon Dec 15 17:53:00 CET 2008


Hello,

On Mon, Dec 15, 2008 at 5:29 PM, Reimar Döffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Btw. libav* uses this code instead of what is on mangle.h:
>
>> // Use rip-relative addressing if compiling PIC code on x86-64.
>> #if defined(ARCH_X86_64) && defined(PIC)
>> #    define LOCAL_MANGLE(a) #a "(%%rip)"
>> #else
>> #    define LOCAL_MANGLE(a) #a
>> #endif
>>
>> #define MANGLE(a) EXTERN_PREFIX LOCAL_MANGLE(a)
>
> As you can see it does not think there is any reason to do anything
> different unless you are building a library, if OSX indeed is different
> FFmpeg needs to be fixed as well.

You nailed it. I have a local patch that uses FFmpeg's mangle + some
modification to allow compilation with 64-bits x86 OSX.

This allows me to compile all MPlayer and FFmpeg, minus the local copy
of liba52.
I can post the patch if needed.

Guillaume
-- 
Only a very small fraction of our DNA does anything; the rest is all
comments and ifdefs.

Bob Hope  - "I don't feel old. I don't feel anything till noon. That's
when it's time for my nap."


More information about the MPlayer-dev-eng mailing list