[FFmpeg-devel] [PATCH] nasm support

Loren Merritt lorenm
Sat Sep 4 17:36:49 CEST 2010


On Fri, 3 Sep 2010, Reimar D?ffinger wrote:

> Hello,
> this allows compiling FFmpeg asm code with nasm.
> Advantages:
> 1) nasm support OS/2 OMF format
> 2) there's a Cygwin package for nasm
> Tested on 64 bit Linux, compiles and passes tests.
> Obviously it would be a good idea for someone to test it
> on 32 bit...

I'm mildly opposed to accommodating nasm. I promise not to ever test my 
code on nasm; someone else can notice and fix it if I happen to use some 
yasm syntax that nasm doesn't like again.
But if y'all think OS/2 is important, I won't grumble too much.

Btw, __OUTPUT_FORMAT__ is equal to the literal string passed to "-f", 
which thus treats "-f elf64" and "-f elf -m amd64" differently. This is 
relevant to a few lines in x86inc.asm.

--Loren Merritt



More information about the ffmpeg-devel mailing list