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

KO Myung-Hun komh78 at gmail.com
Thu Apr 19 03:50:12 CEST 2012


Hi/2.

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
>  

If so, how about using smartaling package ?

+%ifdef __YASM_VER__
 CPU amdnop
+%else
+%use smartalign
+ALIGNMODE k7
+%endif

Any problem ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.0.14
Under OS/2 Warp 4 for Korean with FixPak #15
On Intel Core i5-2520M 2.50GHz with 4GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr



More information about the ffmpeg-devel mailing list