summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-12 22:00:32 +0200
committerwm4 <wm4@nowhere>2013-05-12 22:00:32 +0200
commitbb569b56de1a8abd637772aaa584ade8abfda6ad (patch)
treeae00f5182df29f0fa7332daede6e048c40131e38 /audio/out/ao_coreaudio.c
parent989b482bd601013392e0797d4585d4c189127d19 (diff)
downloadmpv-bb569b56de1a8abd637772aaa584ade8abfda6ad.tar.bz2
mpv-bb569b56de1a8abd637772aaa584ade8abfda6ad.tar.xz
ao_coreaudio: fix switched parameters
Diffstat (limited to 'audio/out/ao_coreaudio.c')
-rw-r--r--audio/out/ao_coreaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c
index 54ff1b4915..083c50faff 100644
--- a/audio/out/ao_coreaudio.c
+++ b/audio/out/ao_coreaudio.c
@@ -501,7 +501,7 @@ int device_id, display_help = 0;
struct mp_chmap_sel chmap_sel = {0};
mp_chmap_sel_add_waveext(&chmap_sel);
- if (!ao_chmap_sel_adjust(&ao_data, &ao_data.channels, &chmap_sel))
+ if (!ao_chmap_sel_adjust(&ao_data, &chmap_sel, &ao_data.channels))
goto err_out;
// Build Description for the input format