mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-03-14 16:27:50 +01: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user