diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-10-31 15:02:29 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-10-31 15:02:29 +0000 |
commit | 0cf6a8c96a284a3241146855db7e84675ca5b45a (patch) | |
tree | 8b269e44135929b450b8f720413f82e672137ace | |
parent | aba67249cb595187667c3207ee42daa260c53791 (diff) | |
download | mpd-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
Diffstat (limited to '')
-rw-r--r-- | src/audioOutput_shout.c | 2 |
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; } |