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

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents fe243bb5ef61
children a5ddb39627fd
line wrap: on
line diff
--- a/x86/vc1dsp_mmx.c	Tue Aug 24 16:52:27 2010 +0000
+++ b/x86/vc1dsp_mmx.c	Tue Aug 24 17:47:05 2010 +0000
@@ -714,7 +714,7 @@
 #endif
 
 void ff_vc1dsp_init_mmx(DSPContext* dsp, AVCodecContext *avctx) {
-    mm_flags = mm_support();
+    int mm_flags = mm_support();
 
     dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_vc1_mspel_mc00_mmx;
     dsp->put_vc1_mspel_pixels_tab[ 4] = put_vc1_mspel_mc01_mmx;