OSDN Git Service

ffmpeg.c: add a forgotten break in chapter copying
authorAnton Khirnov <wyskas@gmail.com>
Fri, 12 Nov 2010 06:56:26 +0000 (06:56 +0000)
committerAnton Khirnov <wyskas@gmail.com>
Fri, 12 Nov 2010 06:56:26 +0000 (06:56 +0000)
only copy chapters from one file

Originally committed as revision 25729 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 7cdf63f..1a5a5b1 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2418,6 +2418,7 @@ static int transcode(AVFormatContext **output_files,
             for (j = 0; j < nb_output_files; j++)
                 if ((ret = copy_chapters(i, j)) < 0)
                     goto dump_format;
+            break;
         }
 
     /* open files and write file headers */