From 1a822d303fc04cc49f4dbb044c78dea7d6c9e6af Mon Sep 17 00:00:00 2001 From: Marc Hoffman Date: Tue, 12 Jun 2007 19:34:06 +0000 Subject: [PATCH] integrating MPV_common_init_bfin into the build system and mpegvideo.c Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 1 + libavcodec/mpegvideo.c | 3 +++ 2 files changed, 4 insertions(+) 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;