audioOutputs_oss: [trivial] make loop interation consistent with others
git-svn-id: https://svn.musicpd.org/mpd/trunk@4689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
f3981eab58
commit
be554c2596
@ -368,7 +368,7 @@ static int oss_open_default(AudioOutput *ao, ConfigParam *param, OssData *od)
|
||||
else
|
||||
ERROR("error trying to open default OSS device\n");
|
||||
|
||||
for (i = ARRAY_SIZE(default_devices) - 1; i >= 0; --i) {
|
||||
for (i = ARRAY_SIZE(default_devices); --i >= 0; ) {
|
||||
const char *dev = default_devices[i];
|
||||
switch(ret[i]) {
|
||||
case OSS_STAT_DOESN_T_EXIST:
|
||||
|
Loading…
Reference in New Issue
Block a user