changeset 6522:dfa76e0734e5 libavcodec

Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx()
author zuxy
date Fri, 21 Mar 2008 12:36:49 +0000
parents bac421a6c4da
children ae19192241c4
files i386/dsputil_mmx.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Fri Mar 21 11:40:05 2008 +0000
+++ b/i386/dsputil_mmx.c	Fri Mar 21 12:36:49 2008 +0000
@@ -1710,6 +1710,7 @@
 
 /* CAVS specific */
 void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx);
+void ff_cavsdsp_init_3dnow(DSPContext* c, AVCodecContext *avctx);
 
 void ff_put_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride) {
     put_pixels8_mmx(dst, src, stride, 8);
@@ -2328,6 +2329,9 @@
 
             c->avg_h264_chroma_pixels_tab[0]= avg_h264_chroma_mc8_3dnow_rnd;
             c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow;
+
+            if (ENABLE_CAVS_DECODER)
+                ff_cavsdsp_init_3dnow(c, avctx);
         }