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

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents 2ea2fd28da07
children fe78a4548d12
line wrap: on
line diff
--- a/x86/h264dsp_mmx.c	Tue Aug 24 16:52:27 2010 +0000
+++ b/x86/h264dsp_mmx.c	Tue Aug 24 17:47:05 2010 +0000
@@ -2368,7 +2368,7 @@
 #if CONFIG_H264PRED
 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id)
 {
-    mm_flags = mm_support();
+    int mm_flags = mm_support();
 
 #if HAVE_YASM
     if (mm_flags & FF_MM_MMX) {