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

Git pushed a commit to branch master
in repository ffmpeg.

commit e5e12328bfb40688b80e0e2698ac9d6b572ac0f3
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Feb 18 00:25:51 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

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

diff --git a/libavcodec/bethsoftvideo.c b/libavcodec/bethsoftvideo.c
index c06eaba32a..3e59a33481 100644
--- a/libavcodec/bethsoftvideo.c
+++ b/libavcodec/bethsoftvideo.c
@@ -27,6 +27,7 @@
  * @see http://www.svatopluk.com/andux/docs/dfvid.html
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/common.h"
 #include "avcodec.h"
 #include "bethsoftvideo.h"
@@ -113,6 +114,7 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx, 
AVFrame *rframe,
             if(yoffset >= avctx->height)
                 return AVERROR_INVALIDDATA;
             dst += vid->frame->linesize[0] * yoffset;
+            av_fallthrough;
         case VIDEO_P_FRAME:
         case VIDEO_I_FRAME:
             break;

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

Reply via email to