aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/diracdsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-31 02:47:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-10-31 02:47:23 +0100
commitc0dbab964d0669ad549a289c39fd9852b5f7d136 (patch)
tree59228e58e076a496951e1be4ab3eca8c6119b384 /libavcodec/diracdsp.c
parent0489af478e5f490aee2d96daa29043b590c8d280 (diff)
downloadffmpeg-c0dbab964d0669ad549a289c39fd9852b5f7d136.tar.gz
dirac: ff_diracdsp_init_mmx() is only compiled when yasm is available
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/diracdsp.c')
-rw-r--r--libavcodec/diracdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/diracdsp.c b/libavcodec/diracdsp.c
index 872faaef02..6cf75d8ff6 100644
--- a/libavcodec/diracdsp.c
+++ b/libavcodec/diracdsp.c
@@ -197,5 +197,5 @@ void ff_diracdsp_init(DiracDSPContext *c)
PIXFUNC(avg, 16);
PIXFUNC(avg, 32);
- if (HAVE_MMX) ff_diracdsp_init_mmx(c);
+ if (HAVE_MMX && HAVE_YASM) ff_diracdsp_init_mmx(c);
}