Skip to content

Commit

Permalink
dsputil_mmx: ff_put_dirac_pixels depend now on yasm.
Browse files Browse the repository at this point in the history
Fix compile failure without yasm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Nov 26, 2012
1 parent 76f6078 commit 8627023
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavcodec/x86/dsputil_mmx.c
Expand Up @@ -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);
Expand All @@ -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. */
Expand Down

0 comments on commit 8627023

Please sign in to comment.