[FFmpeg-devel] [PATCH 6/6] ffmpeg.c: add a forgotten break in chapter copying

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


only copy chapters from one file
---
 ffmpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index b227d98..4b57bce 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2429,6 +2429,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 */
-- 
1.7.2.3




More information about the ffmpeg-devel mailing list