ffmpeg | branch: master | Jun Zhao <barryjz...@tencent.com> | Thu Dec 12 
16:02:53 2019 +0800| [c1e215041bb4feeb17fc1d16d5c651ca6d35ad84] | committer: 
Jun Zhao

fftools/cmdutils: Fix break command dump for -map option

Before this fix, ffmpeg -h full | grep map get the command dump
like:

-map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s  set input 
stream mapping
                                                               ^
                                                               |
                                                            truncated
after this fix, we can get full option dump.

Found-by: vacingfang <vacingf...@tencent.com>
Signed-off-by: Jun Zhao <barryjz...@tencent.com>

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

 fftools/cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index fe903fa4da..e4f4861d66 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -182,7 +182,7 @@ void show_help_options(const OptionDef *options, const char 
*msg, int req_flags,
 
     first = 1;
     for (po = options; po->name; po++) {
-        char buf[64];
+        char buf[128];
 
         if (((po->flags & req_flags) != req_flags) ||
             (alt_flags && !(po->flags & alt_flags)) ||

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to