aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-21 12:36:49 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2008-03-21 12:36:49 +0000
commit9e8e6d318cfde0b2d3aa61da0a8c51a3b18c87b7 (patch)
treee0f5e0464d5a39e6d7e8a13147e990dfa3a2295b /libavcodec
parentc8cf325a9b6c0d48d91ee7264a967f8b73f23ecd (diff)
downloadffmpeg-9e8e6d318cfde0b2d3aa61da0a8c51a3b18c87b7.tar.gz
Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx()
Originally committed as revision 12540 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/dsputil_mmx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 85870d664b..d4010ca0ac 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -1710,6 +1710,7 @@ PREFETCH(prefetch_3dnow, prefetch)
/* 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 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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);
}