This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 4fe52a248408ac9ba905240cdac67c24cab9cfd8 Author: Marvin Scholz <[email protected]> AuthorDate: Wed Feb 18 00:21:06 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avcodec/jpeg2000dec: add fall-through annotations --- libavcodec/jpeg2000dec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 61ea7e7fa6..c5682829b6 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -147,14 +147,17 @@ static int pix_fmt_match(enum AVPixelFormat pix_fmt, int components, match = match && desc->comp[3].depth >= bpc && (log2_chroma_wh >> 14 & 3) == 0 && (log2_chroma_wh >> 12 & 3) == 0; + av_fallthrough; case 3: match = match && desc->comp[2].depth >= bpc && (log2_chroma_wh >> 10 & 3) == desc->log2_chroma_w && (log2_chroma_wh >> 8 & 3) == desc->log2_chroma_h; + av_fallthrough; case 2: match = match && desc->comp[1].depth >= bpc && (log2_chroma_wh >> 6 & 3) == desc->log2_chroma_w && (log2_chroma_wh >> 4 & 3) == desc->log2_chroma_h; + av_fallthrough; case 1: match = match && desc->comp[0].depth >= bpc && _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
