mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-18 08:30:24 +00:00
fftools/cmdutils: constify string
Fixes: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
743df5ded9
commit
4e32fb4c2a
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ static int write_option(void *optctx, const OptionDef *po, const char *opt,
|
|||
}
|
||||
|
||||
if (po->flags & OPT_FLAG_SPEC) {
|
||||
char *p = strchr(opt, ':');
|
||||
const char *p = strchr(opt, ':');
|
||||
char *str;
|
||||
|
||||
sol = dst;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue