Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-26 16:59:41 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-11-26 16:59:41 +0400
commit86270236d5ef97263858a576fab2c366fb2aa76a (patch)
treed880c3de66f63b830e9ec8da0e798686dc472122 /libavcodec/x86
parent76f60788e7964453e11ca9d632b3e4c843cc514c (diff)
dsputil_mmx: ff_put_dirac_pixels depend now on yasm.
Fix compile failure without yasm Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 bbacee5031..d09ce5c5a7 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2044,6 +2044,7 @@ DIRAC_PIXOP(put, mmx)
DIRAC_PIXOP(avg, mmx)
DIRAC_PIXOP(avg, mmxext)
+#if HAVE_YASM
void ff_put_dirac_pixels16_sse2(uint8_t *dst, const uint8_t *src[5], int stride, int h)
{
ff_put_pixels16_sse2(dst, src[0], stride, h);
@@ -2063,6 +2064,7 @@ void ff_avg_dirac_pixels32_sse2(uint8_t *dst, const uint8_t *src[5], int stride,
ff_avg_pixels16_sse2(dst+16, src[0]+16, stride, h);
}
#endif
+#endif
/* XXX: Those functions should be suppressed ASAP when all IDCTs are
* converted. */