aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/rv40dsp_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:26:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:26:24 +0200
commit3b196bb73708e944a5d129e3f38f906522c1adeb (patch)
tree3d5c9557c83e594fe4ac32f76c8b265b39afe131 /libavcodec/x86/rv40dsp_init.c
parent915ec91e6b1a16cfa8e5ecb2f28f03ce9b3b7d54 (diff)
downloadffmpeg-3b196bb73708e944a5d129e3f38f906522c1adeb.tar.gz
libavcodec/x86/rv40dsp_init.c: add missing HAVE_YASM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/rv40dsp_init.c')
-rw-r--r--libavcodec/x86/rv40dsp_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c
index cc1ea45e88..7186492d98 100644
--- a/libavcodec/x86/rv40dsp_init.c
+++ b/libavcodec/x86/rv40dsp_init.c
@@ -56,6 +56,8 @@ DECLARE_WEIGHT(mmx2)
DECLARE_WEIGHT(sse2)
DECLARE_WEIGHT(ssse3)
+#if HAVE_YASM
+
/** @{ */
/**
* Define one qpel function.
@@ -182,6 +184,8 @@ QPEL_FUNCS_SET (OP, 3, 1, OPT) \
QPEL_FUNCS_SET (OP, 3, 2, OPT)
/** @} */
+#endif //HAVE_YASM
+
void ff_rv40dsp_init_x86(RV34DSPContext *c, DSPContext *dsp)
{
#if HAVE_YASM