Commit 9e8e6d31 authored by Zuxy Meng's avatar Zuxy Meng

Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx()

Originally committed as revision 12540 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c8cf325a
...@@ -1710,6 +1710,7 @@ PREFETCH(prefetch_3dnow, prefetch) ...@@ -1710,6 +1710,7 @@ PREFETCH(prefetch_3dnow, prefetch)
/* CAVS specific */ /* CAVS specific */
void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx); 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) { void ff_put_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride) {
put_pixels8_mmx(dst, src, stride, 8); put_pixels8_mmx(dst, src, stride, 8);
...@@ -2328,6 +2329,9 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -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[0]= avg_h264_chroma_mc8_3dnow_rnd;
c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow; c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow;
if (ENABLE_CAVS_DECODER)
ff_cavsdsp_init_3dnow(c, avctx);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment