avconv: fix inverted variable
authorAnton Khirnov <anton@khirnov.net>
Mon, 5 Sep 2011 12:11:13 +0000 (14:11 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 11 Sep 2011 15:30:05 +0000 (17:30 +0200)
avconv.c

index e8c48bb..471ed00 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -3489,7 +3489,7 @@ static void opt_output_file(void *optctx, const char *filename)
     }
     if (o->chapters_input_file >= 0)
         copy_chapters(&input_files[o->chapters_input_file], &output_files[nb_output_files - 1],
-                      o->metadata_chapters_manual);
+                      !o->metadata_chapters_manual);
 
     /* copy metadata */
     for (i = 0; i < o->nb_meta_data_maps; i++) {