Mercurial > libavcodec.hg
comparison x86/mpegaudiodec_mmx.c @ 12456:a5ddb39627fd libavcodec
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
author | stefano |
---|---|
date | Sat, 04 Sep 2010 09:59:08 +0000 |
parents | 3fc4c625b6f3 |
children | 9fef0a8ddd63 |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
149 | 149 |
150 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s) | 150 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s) |
151 { | 151 { |
152 int mm_flags = mm_support(); | 152 int mm_flags = mm_support(); |
153 | 153 |
154 if (mm_flags & FF_MM_SSE2) { | 154 if (mm_flags & AV_CPU_FLAG_SSE2) { |
155 s->apply_window_mp3 = apply_window_mp3; | 155 s->apply_window_mp3 = apply_window_mp3; |
156 } | 156 } |
157 } | 157 } |