diff x86/mpegvideo_mmx.c @ 12414:3fc4c625b6f3 libavcodec

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents 7f594601d5e9
children a5ddb39627fd
line wrap: on
line diff
--- a/x86/mpegvideo_mmx.c	Tue Aug 24 16:52:27 2010 +0000
+++ b/x86/mpegvideo_mmx.c	Tue Aug 24 17:47:05 2010 +0000
@@ -625,6 +625,8 @@
 
 void MPV_common_init_mmx(MpegEncContext *s)
 {
+    int mm_flags = mm_support();
+
     if (mm_flags & FF_MM_MMX) {
         const int dct_algo = s->avctx->dct_algo;