diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 33f50b8a71cdedd9f0c4a0095240f4a65f03320a..034effe6db17bea00fc11f51157703c6defea417 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 cef6013f61047f0aea14999e5edd61a553f8bc21..8e4e4a20905dfcc9e8a3059e8918cdfe03012bf6 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;