Commit be554c25 authored by Eric Wong's avatar Eric Wong

audioOutputs_oss: [trivial] make loop interation consistent with others

git-svn-id: https://svn.musicpd.org/mpd/trunk@4689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent f3981eab
......@@ -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:
......
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