summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mpegvideo_mmx.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/x86/mpegvideo_mmx.c
parent3611c45ab757d03cf3878af62ca1c19ae8386037 (diff)
Remove global mm_flags variable
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/mpegvideo_mmx.c')
-rw-r--r--libavcodec/x86/mpegvideo_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/mpegvideo_mmx.c b/libavcodec/x86/mpegvideo_mmx.c
index 5deb68d28d..3556e1caa7 100644
--- a/libavcodec/x86/mpegvideo_mmx.c
+++ b/libavcodec/x86/mpegvideo_mmx.c
@@ -625,6 +625,8 @@ static void denoise_dct_sse2(MpegEncContext *s, DCTELEM *block){
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;