diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 33f50b8a71..034effe6db 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -402,6 +402,7 @@ OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o endif OBJS-$(TARGET_ARCH_BFIN) += bfin/dsputil_bfin.o \ + bfin/mpegvideo_bfin.o \ ASM_OBJS-$(TARGET_ARCH_BFIN) += bfin/pixels_bfin.o \ bfin/idct_bfin.o \ diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index cef6013f61..8e4e4a2090 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -295,6 +295,9 @@ int DCT_common_init(MpegEncContext *s) #ifdef ARCH_POWERPC MPV_common_init_ppc(s); #endif +#ifdef ARCH_BFIN + MPV_common_init_bfin(s); +#endif #ifdef CONFIG_ENCODERS s->fast_dct_quantize= s->dct_quantize;