]> git.sesse.net Git - ffmpeg/commitdiff
dsputil_mmx: ff_put_dirac_pixels depend now on yasm.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Nov 2012 12:59:41 +0000 (13:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Nov 2012 12:59:41 +0000 (13:59 +0100)
Fix compile failure without yasm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dsputil_mmx.c

index bbacee5031527f02894cebcd8f020d8ac8840f42..d09ce5c5a72490973b50e5467671b563c16b8564 100644 (file)
@@ -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. */