aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/armv4l/mpegvideo_iwmmxt.c
diff options
context:
space:
mode:
authorGildas Bazin <gbazi@altern.org>2005-06-28 22:46:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-06-28 22:46:36 +0000
commiteba9ae3cfcfb924e2dd6e6c45838e73181bd1430 (patch)
tree8b76726c4a504880d78b894125cd36822c525fb8 /libavcodec/armv4l/mpegvideo_iwmmxt.c
parentb4cad5371b72027627220e96b79ec0d65b2debe5 (diff)
downloadffmpeg-eba9ae3cfcfb924e2dd6e6c45838e73181bd1430.tar.gz
IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org)
Originally committed as revision 4409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l/mpegvideo_iwmmxt.c')
-rw-r--r--libavcodec/armv4l/mpegvideo_iwmmxt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/armv4l/mpegvideo_iwmmxt.c b/libavcodec/armv4l/mpegvideo_iwmmxt.c
index 0f4c99e3ac..9724de8c4c 100644
--- a/libavcodec/armv4l/mpegvideo_iwmmxt.c
+++ b/libavcodec/armv4l/mpegvideo_iwmmxt.c
@@ -90,6 +90,8 @@ static void dct_unquantize_h263_inter_iwmmxt(MpegEncContext *s,
void MPV_common_init_iwmmxt(MpegEncContext *s)
{
+ if (!(mm_flags & MM_IWMMXT)) return;
+
s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_iwmmxt;
#if 0
s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_iwmmxt;