From 0cf6a8c96a284a3241146855db7e84675ca5b45a Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 31 Oct 2004 15:02:29 +0000 Subject: fix minor bug in shout code (seting ao->open = 1 when failing to initEncoder()) git-svn-id: https://svn.musicpd.org/mpd/trunk@2431 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput_shout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c index 8b8ee693c..2885ef594 100644 --- a/src/audioOutput_shout.c +++ b/src/audioOutput_shout.c @@ -370,7 +370,7 @@ static int shout_openShoutConn(AudioOutput * audioOutput) { if(initEncoder(sd) < 0) { shout_close(sd->shoutConn); - audioOutput->open = 1; + audioOutput->open = 0; return -1; } -- cgit v1.2.3