[FFmpeg-devel] FFmpeg for Mac
Ronald S. Bultje
Wed May 20 19:48:22 CEST 2009
On Wed, May 20, 2009 at 1:27 PM, Neal Krawetz <ffmpeg at hackerfactor.com> wrote:
> /* Set a global that everyone else will use */
> int ? ? PianaEndianHost=BIG_ENDIAN; ? ? /* big/Intel ; little/Motorola */
> Then all endian-specific code just needs to check this variable.
> ?if (JpegEndian == PianaEndianHost) ...
You could just compile two binaries, ffmpeg-be and ffmpeg-le and have
ffmpeg be a microscript/tool/... that forwards the complete
commandline appropriately. That would not have any performance loss
and not result in bigger binaries for either arch.
More information about the ffmpeg-devel