aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_alsa.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2005-11-19 10:29:20 +0000
committerEric Wong <normalperson@yhbt.net>2005-11-19 10:29:20 +0000
commite8a54efe414d9d25b71cef910b15935bea8c530e (patch)
treefa51a9f7ec6d4f94cc2bbcec820529acf379a049 /src/audioOutputs/audioOutput_alsa.c
parent4b00c62587dbe0ce131992dcd574ffe323cffa5c (diff)
downloadmpd-e8a54efe414d9d25b71cef910b15935bea8c530e.tar.gz
mpd-e8a54efe414d9d25b71cef910b15935bea8c530e.tar.xz
mpd-e8a54efe414d9d25b71cef910b15935bea8c530e.zip
gcc 2.95 fixes
audioOutput_osx.c, aac_decode.c, mp4_decode.c have NOT been thoroughly checked, but I nevertheless managed to eyeball and fix one incompatibility in audioOutput_osx.c All other files have been build successfully with gcc 2.95 git-svn-id: https://svn.musicpd.org/mpd/trunk@3688 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 61c7670a2..e3378143e 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -70,10 +70,11 @@ static void freeAlsaData(AlsaData * ad) {
static int alsa_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
BlockParam * bp = NULL;
-
+ AlsaData * ad;
+
if(param) bp = getBlockParam(param, "device");
- AlsaData * ad = newAlsaData();
+ ad = newAlsaData();
audioOutput->data = ad;