diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-01-31 20:41:07 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-01-31 20:41:07 +0000 |
commit | fb85b027f6bec30e49301399faefcffada948347 (patch) | |
tree | 54c6eb88602c9050671fdfff31dba6e4df41aa96 /libavcodec/i386 | |
parent | 7bf3261289c677d82d966cef96e93c83d6fb9710 (diff) | |
download | ffmpeg-fb85b027f6bec30e49301399faefcffada948347.tar.gz |
vsad16_mmx2 only applies if encoders are turned on
Originally committed as revision 2736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 6c6f108372..efa0225573 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -2158,7 +2158,9 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_mmx2; c->avg_pixels_tab[0][3] = avg_pixels16_xy2_mmx2; c->avg_pixels_tab[1][3] = avg_pixels8_xy2_mmx2; +#ifdef CONFIG_ENCODERS c->vsad[0] = vsad16_mmx2; +#endif //CONFIG_ENCODERS } #if 1 |