diff options
author | wm4 <wm4@nowhere> | 2014-09-23 23:34:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-23 23:34:30 +0200 |
commit | 429260a35cea8b52f8701d687e233759e06f059f (patch) | |
tree | 642a52c22f059c2dc41ca6543743755b7357f36a /audio | |
parent | c2fa9f662940fe4beeb695d64f155be2b5d9bb88 (diff) | |
download | mpv-429260a35cea8b52f8701d687e233759e06f059f.tar.bz2 mpv-429260a35cea8b52f8701d687e233759e06f059f.tar.xz |
ao_oss: unbreak
Oops.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_oss.c | 4 |
1 files 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", |