diff options
author | Gildas Bazin <gbazi@altern.org> | 2005-06-28 22:46:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-06-28 22:46:36 +0000 |
commit | eba9ae3cfcfb924e2dd6e6c45838e73181bd1430 (patch) | |
tree | 8b76726c4a504880d78b894125cd36822c525fb8 /libavcodec/armv4l/mpegvideo_iwmmxt.c | |
parent | b4cad5371b72027627220e96b79ec0d65b2debe5 (diff) | |
download | ffmpeg-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.c | 2 |
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; |