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
This commit is contained in:
parent
aba67249cb
commit
0cf6a8c96a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user