diff i386/dsputil_mmx.c @ 1686:68abbec33289 libavcodec

Here are juste two added #ifdef CONFIG_ENCODERS to allow libavcodec to compile without CONFIG_ENCODERS defined patch by (Aurelien Jacobs <aurel at gnuage dot org>)
author michael
date Sat, 13 Dec 2003 02:14:18 +0000
parents de28264c3dc3
children dea5b2946999
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Sat Dec 13 01:33:52 2003 +0000
+++ b/i386/dsputil_mmx.c	Sat Dec 13 02:14:18 2003 +0000
@@ -1937,7 +1937,9 @@
             SET_QPEL_FUNC(qpel_pixels_tab[1][15], qpel8_mc33_mmx2)
 #endif
 
+#ifdef CONFIG_ENCODERS
             c->sub_hfyu_median_prediction= sub_hfyu_median_prediction_mmx2;
+#endif //CONFIG_ENCODERS
         } else if (mm_flags & MM_3DNOW) {
             c->put_pixels_tab[0][1] = put_pixels16_x2_3dnow;
             c->put_pixels_tab[0][2] = put_pixels16_y2_3dnow;