[MPlayer-cvslog] r36298 - trunk/libao2/ao_jack.c

reimar subversion at mplayerhq.hu
Mon Jun 3 19:38:06 CEST 2013


Author: reimar
Date: Mon Jun  3 19:38:06 2013
New Revision: 36298

Log:
Cosmetics: fix indentation.

Modified:
   trunk/libao2/ao_jack.c

Modified: trunk/libao2/ao_jack.c
==============================================================================
--- trunk/libao2/ao_jack.c	Mon Jun  3 19:38:04 2013	(r36297)
+++ trunk/libao2/ao_jack.c	Mon Jun  3 19:38:06 2013	(r36298)
@@ -247,16 +247,16 @@ static int init(int rate, int channels, 
 
   // 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;
 


More information about the MPlayer-cvslog mailing list