summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-27 00:27:50 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:15 +0900
commit777bffd307313199ef0337228b5dfddc7638464c (patch)
tree2aca5f0985ed41430b18a12d1ad9052148a6fde7
parent7f839323cbe8031061ac786dc0a313396a352fab (diff)
downloadmpv-777bffd307313199ef0337228b5dfddc7638464c.tar.bz2
mpv-777bffd307313199ef0337228b5dfddc7638464c.tar.xz
ao_coreaudio: move some code to make output readable
-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;