From e8a54efe414d9d25b71cef910b15935bea8c530e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 19 Nov 2005 10:29:20 +0000 Subject: 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 --- src/audioOutputs/audioOutput_osx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/audioOutputs/audioOutput_osx.c') diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index 00beaef33..191edebd5 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -291,8 +291,9 @@ static int osx_play(AudioOutput * audioOutput, char * playChunk, int size) { //DEBUG("osx_play: enter\n"); if(!od->started) { + int err; od->started = 1; - int err = AudioOutputUnitStart(od->au); + err = AudioOutputUnitStart(od->au); if(err) { ERROR("unable to start audio output: %i\n", err); return -1; -- cgit v1.2.3