summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-27 00:27:50 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-27 00:27:50 +0100
commit4d9931573052ef236e8cafc8f3e90e0151fd2e98 (patch)
tree9a05403e69c527ad47c5b3ece6516c982498bb63 /audio/out
parent1391e765a2cf1e849d436f2953fb03ddb892e7ec (diff)
downloadmpv-4d9931573052ef236e8cafc8f3e90e0151fd2e98.tar.bz2
mpv-4d9931573052ef236e8cafc8f3e90e0151fd2e98.tar.xz
ao_coreaudio: move some code to make output readable
Diffstat (limited to 'audio/out')
-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 706187c31b..741bc1c0ab 100644
--- a/audio/out/ao_coreaudio.c
+++ b/audio/out/ao_coreaudio.c
@@ -415,11 +415,11 @@ bool ca_layout_to_mp_chmap(struct ao *ao, AudioChannelLayout *layout,
struct mp_chmap *chmap)
{
void *talloc_ctx = talloc_new(NULL);
- AudioChannelLayout *l = ca_layout_to_custom_layout(ao, talloc_ctx, layout);
MP_DBG(ao, "input channel layout:\n");
ca_log_layout(ao, MSGL_DEBUG, layout);
+ AudioChannelLayout *l = ca_layout_to_custom_layout(ao, talloc_ctx, layout);
if (!l)
goto coreaudio_error;