[MPlayer-dev-eng] FFmpeg? sound issue

Ingo Brückl ib at wupperonline.de
Sun Nov 20 15:29:08 CET 2011


Nicolas George wrote on Sun, 20 Nov 2011 15:12:29 +0100:

> but I did not follow the start of the discussion: is it what you need?
> Can you be somewhat more specific about what needs to be done?

If I get Reimar right, it should be checked whether this patch breaks mp3
sound with sse2 CPUs.

Ingo
-------------- next part --------------
--- ffmpeg/libavcodec/x86/mpegaudiodec_mmx.c	2011-11-19 19:57:17.000000000 +0100
+++ ffmpeg/libavcodec/x86/mpegaudiodec_mmx.c	2011-11-20 15:24:06.000000000 +0100
@@ -157,7 +157,7 @@
 {
     int mm_flags = av_get_cpu_flags();
 
-    if (mm_flags & AV_CPU_FLAG_SSE2) {
+    /*if (mm_flags & AV_CPU_FLAG_SSE2) {
         s->apply_window_float = apply_window_mp3;
     }
     if (HAVE_YASM && mm_flags & AV_CPU_FLAG_AVX && HAVE_AVX) {
@@ -172,7 +172,7 @@
     else if (HAVE_YASM && mm_flags & AV_CPU_FLAG_SSE2 && HAVE_SSE) {
         s->imdct36_float = ff_imdct36_float_sse2;
     }
-    else if (HAVE_YASM && mm_flags & AV_CPU_FLAG_SSE && HAVE_SSE) {
+    else*/ if (HAVE_YASM && mm_flags & AV_CPU_FLAG_SSE && HAVE_SSE) {
         s->imdct36_float = ff_imdct36_float_sse;
     }
 }


More information about the MPlayer-dev-eng mailing list