[FFmpeg-devel] [PATCH] Enable building 64bit FFmpeg on MacOSX

Reimar Döffinger Reimar.Doeffinger
Mon Mar 17 13:22:37 CET 2008


On Mon, Mar 17, 2008 at 01:55:14PM +0200, ?smail D?nmez wrote:
> On Mon, Mar 17, 2008 at 1:10 PM, Reimar D?ffinger
> >  Seems ugly to me, maybe better check compilation of something like
> >
> >  int test[sizeof(intptr_t) - 7];
> 
> I don't particularly think checking sizeof(long) is ugly but I don't
> mind using intrptr_t if M?ns agrees. Such a patch is attached.

What seemed ugly to me was the test involving execution.
sizeof(long) is somewhat ugly because it probably checks the wrong
thing, though my suggestion is not much better, it should probably be
sizeof(void *), though even that is not optimal because it does not
_really_ indicate if 64 bit operations are fast or not...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list