This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 4e32fb4c2a fftools/cmdutils: constify string
4e32fb4c2a is described below

commit 4e32fb4c2abaee9f71cf1d67d306dd5486fbad23
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sat Feb 28 03:15:28 2026 +0100
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat Feb 28 13:42:01 2026 +0100

    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 <[email protected]>
---
 fftools/cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 9a365c228d..2f9bae9f21 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -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;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to