oss: fix opening default OSS device

Leftover from the output API changes: oss_open_default() was changed
to return a void*, but it still returned "0" to report success.
Report the OssData pointer instead.
This commit is contained in:
Max Kellermann 2008-10-11 12:40:48 +02:00
parent 17d9c1708b
commit 215d8aa8f6

View File

@ -346,7 +346,7 @@ static void *oss_open_default(ConfigParam *param)
if (ret[i] == 0) {
OssData *od = newOssData();
od->device = default_devices[i];
return 0;
return od;
}
}