[FFmpeg-cvslog] avconv: fix inverted variable

Anton Khirnov git at videolan.org
Mon Sep 12 00:39:00 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Sep  5 14:11:13 2011 +0200| [f39ecc79aa769677777fc3d6b8de6440bcda3c3f] | committer: Anton Khirnov

avconv: fix inverted variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f39ecc79aa769677777fc3d6b8de6440bcda3c3f
---

 avconv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/avconv.c b/avconv.c
index e8c48bb..471ed00 100644
--- 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++) {



More information about the ffmpeg-cvslog mailing list