# HG changeset patch # User zuxy # Date 1206103009 0 # Node ID dfa76e0734e5751cabeef7a49cbedbe586c9c79b # Parent bac421a6c4da1190a5188b757fdf57302e4df8ef Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx() diff -r bac421a6c4da -r dfa76e0734e5 i386/dsputil_mmx.c --- 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); }