From 429260a35cea8b52f8701d687e233759e06f059f Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 23 Sep 2014 23:34:30 +0200 Subject: ao_oss: unbreak Oops. --- audio/out/ao_oss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c index 7780a08978..7ed8ddb025 100644 --- a/audio/out/ao_oss.c +++ b/audio/out/ao_oss.c @@ -296,9 +296,9 @@ static int reopen_device(struct ao *ao, bool allow_format_changes) ac3_retry: if (AF_FORMAT_IS_IEC61937(format)) { - oss_format = format2oss(format); - } else { oss_format = AFMT_AC3; + } else { + oss_format = format2oss(format); } if (oss_format == -1) { MP_VERBOSE(ao, "Unknown/not supported internal format: %s\n", -- cgit v1.2.3