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

Git pushed a commit to branch master
in repository ffmpeg.

commit ac65b35ebc093c0a2b35157798ccbf78f9b0126a
Author:     Steve Banik <[email protected]>
AuthorDate: Mon Nov 16 12:40:15 2026 -0600
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Nov 17 03:58:12 2026 +0000

    fftools/ffmpeg_opt: do not log error when opening file returns AVERROR_EXIT
    
    Indevs return AVERROR_EXIT for informational commands such as
    listing devices or options. Suppress the spurious 'Error opening input file'
    log when ret == AVERROR_EXIT, matching ffmpeg_demux and ffmpeg.c.
---
 fftools/ffmpeg_opt.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 603e9dfbaa..2012b5ac55 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1442,8 +1442,9 @@ static int open_files(OptionGroupList *l, const char 
*inout, Scheduler *sch,
         ret = open_file(&o, g->arg, sch);
         uninit_options(&o);
         if (ret < 0) {
-            av_log(NULL, AV_LOG_ERROR, "Error opening %s file %s.\n",
-                   inout, g->arg);
+            if (ret != AVERROR_EXIT)
+                av_log(NULL, AV_LOG_ERROR, "Error opening %s file %s.\n",
+                       inout, g->arg);
             return ret;
         }
         av_log(NULL, AV_LOG_DEBUG, "Successfully opened the file.\n");

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to