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

Git pushed a commit to branch master
in repository ffmpeg.

commit d8b02fdb9f1d4d3a63d9b67eb54e68bf1ab7b7da
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Apr 28 21:15:22 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun May 3 18:22:53 2026 +0200

    avcodec/libaomenc: Use av_fallthrough to mark fallthrough
    
    Reviewed-by: Ramiro Polla <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/libaomenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index 20e97e5d43..48ba4e1a9d 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -475,7 +475,7 @@ static int set_pix_fmt(AVCodecContext *avctx, 
aom_codec_caps_t codec_caps,
     switch (avctx->pix_fmt) {
     case AV_PIX_FMT_GRAY8:
         enccfg->monochrome = 1;
-        /* Fall-through */
+        av_fallthrough;
     case AV_PIX_FMT_YUV420P:
         enccfg->g_profile = AV_PROFILE_AV1_MAIN;
         *img_fmt = AOM_IMG_FMT_I420;
@@ -492,7 +492,7 @@ static int set_pix_fmt(AVCodecContext *avctx, 
aom_codec_caps_t codec_caps,
     case AV_PIX_FMT_GRAY10:
     case AV_PIX_FMT_GRAY12:
         enccfg->monochrome = 1;
-        /* Fall-through */
+        av_fallthrough;
     case AV_PIX_FMT_YUV420P10:
     case AV_PIX_FMT_YUV420P12:
         if (codec_caps & AOM_CODEC_CAP_HIGHBITDEPTH) {

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

Reply via email to