[FFmpeg-devel] [PATCH] Fix compilation with NASM.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 20 21:17:30 CEST 2012


On Sun, Apr 15, 2012 at 07:31:53PM +0200, Reimar Döffinger wrote:
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavutil/x86/x86inc.asm |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
> index 7e389d0..1303902 100644
> --- a/libavutil/x86/x86inc.asm
> +++ b/libavutil/x86/x86inc.asm
> @@ -97,7 +97,10 @@
>  %endif
>  
>  ; Always use long nops (reduces 0x90 spam in disassembly on x86_32)
> +; Not supported by NASM (except via smartalign package)
> +%ifdef __YASM_VER__
>  CPU amdnop
> +%endif

Pushed, with an extended comment here.


More information about the ffmpeg-devel mailing list