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

Git pushed a commit to branch master
in repository ffmpeg.

commit 2678482c1033fa9f9a1480d430a7fb2eb0e7e23d
Author:     James Almer <[email protected]>
AuthorDate: Mon Dec 22 22:19:01 2025 -0300
Commit:     James Almer <[email protected]>
CommitDate: Wed Dec 24 12:21:39 2025 -0300

    fftools/ffmpeg_enc: use av_unreachable instead of av_assert0(0) at the end 
of a non-void function
    
    Fixes compilation with gcc-tsan and --disable-optimizations
    
    Signed-off-by: James Almer <[email protected]>
---
 fftools/ffmpeg_enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c
index 0f7d961472..a595912933 100644
--- a/fftools/ffmpeg_enc.c
+++ b/fftools/ffmpeg_enc.c
@@ -728,7 +728,7 @@ static int encode_frame(OutputFile *of, OutputStream *ost, 
AVFrame *frame,
         }
     }
 
-    av_assert0(0);
+    av_unreachable("encode_frame() loop should return");
 }
 
 static enum AVPictureType forced_kf_apply(void *logctx, KeyframeForceCtx *kf,

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

Reply via email to