This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e6c7fd4106cd3c67901713ed0069fb3c18aa955e Author: Marvin Scholz <[email protected]> AuthorDate: Wed Feb 18 00:17:48 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avcodec/tiffenc: add fall-through annotations --- libavcodec/tiffenc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 1916db9a31..e53ba6f034 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -26,6 +26,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #if CONFIG_ZLIB #include <zlib.h> #endif @@ -278,15 +279,18 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, case AV_PIX_FMT_RGBA64LE: case AV_PIX_FMT_RGBA: alpha = 1; + av_fallthrough; case AV_PIX_FMT_RGB48LE: case AV_PIX_FMT_RGB24: s->photometric_interpretation = TIFF_PHOTOMETRIC_RGB; break; case AV_PIX_FMT_GRAY8: avctx->bits_per_coded_sample = 0x28; + av_fallthrough; case AV_PIX_FMT_GRAY8A: case AV_PIX_FMT_YA16LE: alpha = avctx->pix_fmt == AV_PIX_FMT_GRAY8A || avctx->pix_fmt == AV_PIX_FMT_YA16LE; + av_fallthrough; case AV_PIX_FMT_GRAY16LE: case AV_PIX_FMT_MONOBLACK: s->photometric_interpretation = TIFF_PHOTOMETRIC_BLACK_IS_ZERO; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
