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

Git pushed a commit to branch master
in repository ffmpeg.

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

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

diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c
index ef20633e1f..3cea84e4ea 100644
--- a/libavcodec/sheervideo.c
+++ b/libavcodec/sheervideo.c
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #define CACHED_BITSTREAM_READER !ARCH_X86_32
 #define SHEER_VLC_BITS 12
 
@@ -1863,6 +1864,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
         break;
     case MKTAG('A', 'Y', 'B', 'R'):
         s->alt = 1;
+        av_fallthrough;
     case MKTAG('A', 'Y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
         s->decode_frame = decode_aybr;
@@ -1870,6 +1872,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
         break;
     case MKTAG('A', 'y', 'B', 'R'):
         s->alt = 1;
+        av_fallthrough;
     case MKTAG('A', 'y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
         s->decode_frame = decode_aybri;
@@ -1877,6 +1880,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
         break;
     case MKTAG(' ', 'Y', 'B', 'R'):
         s->alt = 1;
+        av_fallthrough;
     case MKTAG(' ', 'Y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUV444P;
         s->decode_frame = decode_ybr;
@@ -1884,6 +1888,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
         break;
     case MKTAG(' ', 'y', 'B', 'R'):
         s->alt = 1;
+        av_fallthrough;
     case MKTAG(' ', 'y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUV444P;
         s->decode_frame = decode_ybri;

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

Reply via email to