diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-08-29 11:14:17 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-08-30 19:37:32 +0200 |
commit | ec36aa69448f20a78d8c4588265022e0b2272ab5 (patch) | |
tree | 2f380a174be63e3f259f2b6f3166d6abd659af82 /libavcodec/x86/rv40dsp_init.c | |
parent | 50cd43f2cdb21c507e91bc26da33e24cf2e3e7ae (diff) | |
download | ffmpeg-ec36aa69448f20a78d8c4588265022e0b2272ab5.tar.gz |
x86: Fix linking with some or all of yasm, mmx, optimizations disabled
Some optimized template functions reference optimized symbols, so they
must be explicitly disabled when those symbols are unavailable.
Diffstat (limited to 'libavcodec/x86/rv40dsp_init.c')
-rw-r--r-- | libavcodec/x86/rv40dsp_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c index 3541ddfb70..3fccf49d0f 100644 --- a/libavcodec/x86/rv40dsp_init.c +++ b/libavcodec/x86/rv40dsp_init.c @@ -30,6 +30,7 @@ #include "libavutil/mem.h" #include "dsputil_mmx.h" +#if HAVE_YASM void ff_put_rv40_chroma_mc8_mmx (uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); void ff_avg_rv40_chroma_mc8_mmx2 (uint8_t *dst, uint8_t *src, @@ -183,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 |