diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-27 04:09:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-27 04:09:19 +0200 |
commit | 1a62ca47ae847cc93e0664ec75630aac675b0839 (patch) | |
tree | 6f3a443c508b992c9501fe5c9dcac4285d0f9248 /src/read-vorbis.c | |
parent | e75ef0ca986dcefed9283ab62a140f62027a0aac (diff) |
vorbis: fix implicit channel map decodingv0.16
Diffstat (limited to 'src/read-vorbis.c')
-rw-r--r-- | src/read-vorbis.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/read-vorbis.c b/src/read-vorbis.c index 4d1fcb0..93dcbca 100644 --- a/src/read-vorbis.c +++ b/src/read-vorbis.c @@ -157,11 +157,14 @@ const ca_channel_position_t* ca_vorbis_get_channel_map(ca_vorbis *v) { v->channel_map[3] = CA_CHANNEL_REAR_RIGHT; /* fall through */ - case 1: + case 2: v->channel_map[0] = CA_CHANNEL_FRONT_LEFT; v->channel_map[1] = CA_CHANNEL_FRONT_RIGHT; return v->channel_map; + case 1: + v->channel_map[0] = CA_CHANNEL_MONO; + return v->channel_map; } return NULL; |