diff utils.c @ 5305:026cc515aad8 libavformat

fix indentation and add braces
author bcoudurier
date Sun, 18 Oct 2009 20:25:48 +0000
parents f18f00a37c22
children e79d1b0428e3
line wrap: on
line diff
--- a/utils.c	Sun Oct 18 20:11:32 2009 +0000
+++ b/utils.c	Sun Oct 18 20:25:48 2009 +0000
@@ -2949,9 +2949,10 @@
             for(k=0; k<ic->programs[j]->nb_stream_indexes; k++)
                 dump_stream_format(ic, ic->programs[j]->stream_index[k], index, is_output);
          }
-    } else
-    for(i=0;i<ic->nb_streams;i++)
-        dump_stream_format(ic, i, index, is_output);
+    } else {
+        for(i=0;i<ic->nb_streams;i++)
+            dump_stream_format(ic, i, index, is_output);
+    }
     if (ic->metadata) {
         AVMetadataTag *tag=NULL;
         av_log(NULL, AV_LOG_INFO, "  Metadata\n");