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

Git pushed a commit to branch master
in repository ffmpeg.

commit e1115751dd23186a06ed2042ab9103b95139028c
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Apr 28 21:22:05 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun May 3 18:23:07 2026 +0200

    avcodec/nvenc: Add av_fallthrough
    
    Reviewed-by: Ramiro Polla <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/nvenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 8c028153c7..a8dac1ebd3 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -2781,6 +2781,7 @@ static int process_output_surface(AVCodecContext *avctx, 
AVPacket *pkt, NvencSur
     switch (lock_params.pictureType) {
     case NV_ENC_PIC_TYPE_IDR:
         pkt->flags |= AV_PKT_FLAG_KEY;
+        av_fallthrough;
     case NV_ENC_PIC_TYPE_I:
         pict_type = AV_PICTURE_TYPE_I;
         break;

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

Reply via email to