summaryrefslogtreecommitdiff
path: root/libavcodec/x86/dnxhd_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/dnxhd_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/dnxhd_mmx.c')
-rw-r--r--libavcodec/x86/dnxhd_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dnxhd_mmx.c b/libavcodec/x86/dnxhd_mmx.c
index 59bcb3929b..1e6299bcd1 100644
--- a/libavcodec/x86/dnxhd_mmx.c
+++ b/libavcodec/x86/dnxhd_mmx.c
@@ -52,7 +52,7 @@ static void get_pixels_8x4_sym_sse2(DCTELEM *block, const uint8_t *pixels, int l
void ff_dnxhd_init_mmx(DNXHDEncContext *ctx)
{
- if (mm_flags & FF_MM_SSE2) {
+ if (mm_support() & FF_MM_SSE2) {
ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2;
}
}