diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-08 10:02:40 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-08 10:02:40 +0000 |
commit | ccf22d3ed181a14019d0c2f02f2ce30ac8e23ef5 (patch) | |
tree | 02f9099d3a8ab792a8d69167eb8c23a5e8d6a4cc /libavcodec/ppc/mpegvideo_altivec.c | |
parent | 83f72f138e64b596dce1b543d6af3cf66d300e90 (diff) | |
download | ffmpeg-ccf22d3ed181a14019d0c2f02f2ce30ac8e23ef5.tar.gz |
Merge has_altivec() function into mm_support(), remove it and use
mm_support() instead.
Reduce complexity and simplify pending move to libavutil.
Originally committed as revision 25074 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/mpegvideo_altivec.c')
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 19d897fe66..3b34a27bec 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -570,7 +570,7 @@ static void dct_unquantize_h263_altivec(MpegEncContext *s, void MPV_common_init_altivec(MpegEncContext *s) { - if (!has_altivec()) return; + if (!(mm_support() & AV_CPU_FLAG_ALTIVEC)) return; if (s->avctx->lowres==0) { if ((s->avctx->idct_algo == FF_IDCT_AUTO) || |