Browse Source

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 <vacingfang@tencent.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
tags/n4.3
Jun Zhao 5 years ago
parent
commit
c1e215041b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fftools/cmdutils.c

+ 1
- 1
fftools/cmdutils.c View File

@@ -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)) ||


Loading…
Cancel
Save