[MPlayer-dev-eng] [PATCH] GCC 3.4 Compile fix

Tamran Lengyel narmat at canada.com
Tue Apr 13 00:54:07 CEST 2004


I couln't get mplayer to compile with gcc 3.4 and alsa but found that it 
worked fine with gcc 3.3.3.  After a little bit of messing about, I 
found the problem and it works good now (for both gcc 3.3.3 and gcc 3.4) 
using the following patch.

I'm running a dual opteron 242 system with gentoo linux (amd64).  The 
program is compiled for 64bit on my machine.

Regards,

Tamran


------------------------------------------------------------------

--- MPlayer-1.0pre3/libao2/ao_alsa9.c	2003-10-04 12:28:58.000000000 -0500
+++ MPlayer-1.0pre3/libao2/ao_alsa9_.c	2004-04-10 15:28:37.057002080 -0500
@@ -341,7 +341,7 @@
             strcpy(devstr, "surround51");
             alsa_device = devstr;
            break;
-          default:
+          default: ;
         }
     }





More information about the MPlayer-dev-eng mailing list