From 4d9931573052ef236e8cafc8f3e90e0151fd2e98 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 27 Dec 2014 00:27:50 +0100 Subject: [PATCH] ao_coreaudio: move some code to make output readable --- audio/out/ao_coreaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;