Mercurial > libavcodec.hg
diff armv4l/mpegvideo_iwmmxt.c @ 2776:930e56f92c57 libavcodec
IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org)
author | michael |
---|---|
date | Tue, 28 Jun 2005 22:46:36 +0000 |
parents | aeea63c97878 |
children | c537a97eec66 |
line wrap: on
line diff
--- a/armv4l/mpegvideo_iwmmxt.c Tue Jun 28 14:56:16 2005 +0000 +++ b/armv4l/mpegvideo_iwmmxt.c Tue Jun 28 22:46:36 2005 +0000 @@ -90,6 +90,8 @@ 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;