Commit 0cf6a8c9 authored by Warren Dukes's avatar Warren Dukes

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
parent aba67249
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment