comparison x86/mpegaudiodec_mmx.c @ 12414:3fc4c625b6f3 libavcodec

Remove global mm_flags variable
author mru
date Tue, 24 Aug 2010 17:47:05 +0000
parents ce4b71c171aa
children a5ddb39627fd
comparison
equal deleted inserted replaced
12413:e6e4059ea421 12414:3fc4c625b6f3
147 *out = sum; 147 *out = sum;
148 } 148 }
149 149
150 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s) 150 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s)
151 { 151 {
152 mm_flags = mm_support(); 152 int mm_flags = mm_support();
153 153
154 if (mm_flags & FF_MM_SSE2) { 154 if (mm_flags & FF_MM_SSE2) {
155 s->apply_window_mp3 = apply_window_mp3; 155 s->apply_window_mp3 = apply_window_mp3;
156 } 156 }
157 } 157 }