Mercurial > libavcodec.hg
changeset 1772:8cd5257195c9 libavcodec
vsad16_mmx2 only applies if encoders are turned on
author | melanson |
---|---|
date | Sat, 31 Jan 2004 20:41:07 +0000 |
parents | 8488bab5efa2 |
children | bb5b19529111 |
files | i386/dsputil_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_mmx.c Sat Jan 31 20:37:46 2004 +0000 +++ b/i386/dsputil_mmx.c Sat Jan 31 20:41:07 2004 +0000 @@ -2158,7 +2158,9 @@ 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