This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f4a05e35288de1eec0c8e2b15443f0adf4d736dd Author: Marvin Scholz <[email protected]> AuthorDate: Wed Feb 18 00:20:41 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avcodec/lagarith: add fall-through annotations --- libavcodec/lagarith.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index 0969448eda..9a5c8f0e47 100644 --- a/libavcodec/lagarith.c +++ b/libavcodec/lagarith.c @@ -27,6 +27,7 @@ #include <inttypes.h> +#include "libavutil/attributes.h" #include "libavutil/thread.h" #include "avcodec.h" @@ -578,6 +579,7 @@ static int lag_decode_frame(AVCodecContext *avctx, AVFrame *p, switch (frametype) { case FRAME_SOLID_RGBA: avctx->pix_fmt = AV_PIX_FMT_GBRAP; + av_fallthrough; case FRAME_SOLID_GRAY: if (frametype == FRAME_SOLID_GRAY) if (avctx->bits_per_coded_sample == 24) { @@ -627,6 +629,7 @@ static int lag_decode_frame(AVCodecContext *avctx, AVFrame *p, planes = 4; offset_ry += 4; offs[3] = AV_RL32(buf + 9); + av_fallthrough; case FRAME_ARITH_RGB24: case FRAME_U_RGB24: if (frametype == FRAME_ARITH_RGB24 || frametype == FRAME_U_RGB24) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
