# HG changeset patch # User reimar # Date 1370281086 0 # Node ID 53cb51bbc317233a1e07507f043b6b287456e5e3 # Parent fe3993b4209142e9e2bbf1651d306df664e6f71c Cosmetics: fix indentation. diff -r fe3993b42091 -r 53cb51bbc317 libao2/ao_jack.c --- a/libao2/ao_jack.c Mon Jun 03 17:38:04 2013 +0000 +++ b/libao2/ao_jack.c Mon Jun 03 17:38:06 2013 +0000 @@ -247,16 +247,16 @@ // list matching ports if connections should be made if (connect) { - if (!port_name) - port_flags |= JackPortIsPhysical; - matching_ports = jack_get_ports(client, port_name, NULL, port_flags); - i = 0; - while (matching_ports && matching_ports[i]) i++; - if (!i) { - mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] no physical ports available\n"); - goto err_out; - } - if (channels > i) channels = i; + if (!port_name) + port_flags |= JackPortIsPhysical; + matching_ports = jack_get_ports(client, port_name, NULL, port_flags); + i = 0; + while (matching_ports && matching_ports[i]) i++; + if (!i) { + mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] no physical ports available\n"); + goto err_out; + } + if (channels > i) channels = i; } num_ports = channels;