summaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorDaniel Kang <daniel.d.kang@gmail.com>2013-01-27 02:14:53 -0500
committerMichael Niedermayer <michaelni@gmx.at>2013-01-27 15:20:35 +0100
commitd9e62f368d16420e213c0bc9e92221a3a4874a4d (patch)
tree2d96adae69f4230ce34ca7c031dce54282913645 /libavcodec/x86
parent5934be16cc242e5253d9ea786db484e96bf69167 (diff)
downloadffmpeg-streaming-d9e62f368d16420e213c0bc9e92221a3a4874a4d.zip
ffmpeg-streaming-d9e62f368d16420e213c0bc9e92221a3a4874a4d.tar.gz
dsputil: add missing HAVE_YASM guard
Fix compile error under "--disable-optimizations --disable-yasm --disable-inline-asm" Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index bc30e28..303d36d 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -82,6 +82,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_1)[2] = { 1.0, 1.0 };
DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
+#if HAVE_YASM
void ff_put_pixels8_x2_mmxext(uint8_t *block, const uint8_t *pixels,
int line_size, int h);
void ff_put_pixels8_x2_3dnow(uint8_t *block, const uint8_t *pixels,
@@ -180,6 +181,7 @@ void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext(uint8_t *dst, uint8_t *src,
int dstStride, int srcStride);
#define ff_put_no_rnd_pixels16_mmxext ff_put_pixels16_mmxext
#define ff_put_no_rnd_pixels8_mmxext ff_put_pixels8_mmxext
+#endif /* HAVE_YASM */
#if HAVE_INLINE_ASM
OpenPOWER on IntegriCloud