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

Git pushed a commit to branch master
in repository ffmpeg.

commit e2a8b73688434b1aaa074f023c9956d5328b4f5d
Author:     Marvin Scholz <[email protected]>
AuthorDate: Tue Feb 17 22:00:50 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avcodec/txd: add fall-through annotations
---
 libavcodec/txd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index d71e788e7d..24a6b6b5d3 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -25,6 +25,7 @@
 #include "avcodec.h"
 #include "codec_internal.h"
 #include "decode.h"
+#include "libavutil/attributes.h"
 #include "texturedsp.h"
 
 #define TXD_DXT1 0x31545844
@@ -72,6 +73,7 @@ static int txd_decode_frame(AVCodecContext *avctx, AVFrame *p,
         case 0:
             if (!(flags & 1))
                 goto unsupported;
+            av_fallthrough;
         case TXD_DXT1:
             if (bytestream2_get_bytes_left(&gb) < AV_CEIL_RSHIFT(w, 2) * 
AV_CEIL_RSHIFT(h, 2) * 8 + 4)
                 return AVERROR_INVALIDDATA;

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

Reply via email to