[FFmpeg-devel] [PATCH 5/6] ffmpeg.c: reindent

Anton Khirnov anton
Tue Nov 2 22:04:04 CET 2010


---
 ffmpeg.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 2df6394..b227d98 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2422,14 +2422,14 @@ static int transcode(AVFormatContext **output_files,
 
     /* copy chapters from the first input file that has them*/
     if (!nb_chapter_maps)
-    for (i = 0; i < nb_input_files; i++) {
-        if (!input_files[i]->nb_chapters)
-            continue;
+        for (i = 0; i < nb_input_files; i++) {
+            if (!input_files[i]->nb_chapters)
+                continue;
 
-        for (j = 0; j < nb_output_files; j++)
-            if ((ret = copy_chapters(i, j)) < 0)
-                goto dump_format;
-    }
+            for (j = 0; j < nb_output_files; j++)
+                if ((ret = copy_chapters(i, j)) < 0)
+                    goto dump_format;
+        }
 
     /* open files and write file headers */
     for(i=0;i<nb_output_files;i++) {
-- 
1.7.2.3




More information about the ffmpeg-devel mailing list