diff options
author | wm4 <wm4@nowhere> | 2014-12-01 18:28:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-01 18:28:00 +0100 |
commit | 4be7bdcc0f4c87fcbd28f8fc50ea43da13d1d807 (patch) | |
tree | fa88d3f9dfe46217c5e1533391617bb3c4311e2c /audio | |
parent | 586c9e71554914daf7f60c4610c4ef4e85c274eb (diff) | |
download | mpv-4be7bdcc0f4c87fcbd28f8fc50ea43da13d1d807.tar.bz2 mpv-4be7bdcc0f4c87fcbd28f8fc50ea43da13d1d807.tar.xz |
audio: fix one of the previous commits
Fixes commit 52c51149. It broke multichannel (or possibly everything)
for ao_alsa, ao_oss, ao_sndio.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/chmap_sel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/chmap_sel.c b/audio/chmap_sel.c index 8e591aea44..81354422d9 100644 --- a/audio/chmap_sel.c +++ b/audio/chmap_sel.c @@ -88,7 +88,7 @@ void mp_chmap_sel_add_map(struct mp_chmap_sel *s, const struct mp_chmap *map) return; if (!s->chmaps) s->chmaps = s->chmaps_storage; - if (s->num_chmaps == MP_ARRAY_SIZE(s->chmaps)) { + if (s->num_chmaps == MP_ARRAY_SIZE(s->chmaps_storage)) { if (!s->tmp) return; s->chmaps = talloc_memdup(s->tmp, s->chmaps, sizeof(s->chmaps_storage)); |