diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-10-08 14:18:33 +0000 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-06-21 17:00:29 -0300 |
commit | fd502f4f5fe8d2f241102ca9a529aa7f88209c22 (patch) | |
tree | 145739652cff190593860ec2e371d3df148e7027 /libavcodec/x86/xvididct_init.c | |
parent | 664ac7c5e2e9b2b001be6124b90b398861c773af (diff) | |
download | ffmpeg-fd502f4f5fe8d2f241102ca9a529aa7f88209c22.tar.gz |
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler.
(Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1)
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/xvididct_init.c')
-rw-r--r-- | libavcodec/x86/xvididct_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/xvididct_init.c b/libavcodec/x86/xvididct_init.c index c7b5ead40c..a91b416b74 100644 --- a/libavcodec/x86/xvididct_init.c +++ b/libavcodec/x86/xvididct_init.c @@ -26,7 +26,7 @@ #include "idctdsp.h" #include "xvididct.h" -#if ARCH_X86_32 && HAVE_YASM +#if ARCH_X86_32 && HAVE_X86ASM static void xvid_idct_mmx_put(uint8_t *dest, ptrdiff_t line_size, short *block) { ff_xvid_idct_mmx(block); @@ -55,7 +55,7 @@ static void xvid_idct_mmxext_add(uint8_t *dest, ptrdiff_t line_size, short *bloc av_cold void ff_xvid_idct_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth) { -#if HAVE_YASM +#if HAVE_X86ASM int cpu_flags = av_get_cpu_flags(); if (high_bit_depth || @@ -85,5 +85,5 @@ av_cold void ff_xvid_idct_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, c->idct = ff_xvid_idct_sse2; c->perm_type = FF_IDCT_PERM_SSE2; } -#endif /* HAVE_YASM */ +#endif /* HAVE_X86ASM */ } |