[FFmpeg-devel] [PATCH] HACK: fix compilation with NASM.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Nov 17 19:15:15 CET 2011
On Thu, Nov 17, 2011 at 10:10:50PM +0900, KO Myung-Hun wrote:
> > diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
> > index 842a2cc..cdd7f18 100644
> > --- a/libavutil/x86/x86inc.asm
> > +++ b/libavutil/x86/x86inc.asm
> > @@ -468,9 +468,19 @@ DECLARE_REG 6, ebp, ebp, bp, null, [esp + stack_offset + 28]
> > ; Appends cpuflags to the function name if cpuflags has been specified.
> > %macro cglobal 1-2+ ; name, [PROLOGUE args]
> > %if %0 == 1
> > + ; HACK: work around %+ broken with empty SUFFIX for nasm 2.09.10
> > + %ifndef cpuname
>
> %ifempty SUFFIX is better.
Definitely, I just wasn't able to find it in the documentation
and my attempts to emulate it by comparing to an empty string failed.
More information about the ffmpeg-devel
mailing list