| Index: source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c (revision 59334)
|
| +++ source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c (working copy)
|
| @@ -19,6 +19,7 @@
|
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
| */
|
|
|
| +#include "libavutil/cpu.h"
|
| #include "libavutil/x86_cpu.h"
|
|
|
| #define CONFIG_FLOAT 1
|
| @@ -149,9 +150,9 @@
|
|
|
| void ff_mpegaudiodec_init_mmx(MPADecodeContext *s)
|
| {
|
| - mm_flags = mm_support();
|
| + int mm_flags = av_get_cpu_flags();
|
|
|
| - if (mm_flags & FF_MM_SSE2) {
|
| + if (mm_flags & AV_CPU_FLAG_SSE2) {
|
| s->apply_window_mp3 = apply_window_mp3;
|
| }
|
| }
|
|
|