aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/mpegvideo_altivec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-24 17:47:05 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-24 17:47:05 +0000
commitc0ec9918b066c6bfca8613ac75b589bd3e405971 (patch)
treed037260d347ffce71a1ccdbaca81174e190a25d1 /libavcodec/ppc/mpegvideo_altivec.c
parent3611c45ab757d03cf3878af62ca1c19ae8386037 (diff)
downloadffmpeg-c0ec9918b066c6bfca8613ac75b589bd3e405971.tar.gz
Remove global mm_flags variable
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/mpegvideo_altivec.c')
-rw-r--r--libavcodec/ppc/mpegvideo_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c
index 0126b7f42e..19d897fe66 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 ((mm_flags & FF_MM_ALTIVEC) == 0) return;
+ if (!has_altivec()) return;
if (s->avctx->lowres==0) {
if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||