aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-31 15:02:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-31 15:02:29 +0000
commit0cf6a8c96a284a3241146855db7e84675ca5b45a (patch)
tree8b269e44135929b450b8f720413f82e672137ace
parentaba67249cb595187667c3207ee42daa260c53791 (diff)
downloadmpd-0cf6a8c96a284a3241146855db7e84675ca5b45a.tar.gz
mpd-0cf6a8c96a284a3241146855db7e84675ca5b45a.tar.xz
mpd-0cf6a8c96a284a3241146855db7e84675ca5b45a.zip
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
-rw-r--r--src/audioOutput_shout.c2
1 files changed, 1 insertions, 1 deletions
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;
}