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

Git pushed a commit to branch master
in repository ffmpeg.

commit abc3b65ccb3bf06b00015239fe074cfa00ea7cc6
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Feb 18 00:19:37 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avcodec/pafvideo: add fall-through annotations
---
 libavcodec/pafvideo.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/pafvideo.c b/libavcodec/pafvideo.c
index d8d6db5219..b4376a80b4 100644
--- a/libavcodec/pafvideo.c
+++ b/libavcodec/pafvideo.c
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/mem.h"
 
@@ -246,16 +247,20 @@ static int decode_0(PAFVideoDecContext *c, const uint8_t 
*pkt, uint8_t code)
                 switch (code) {
                 case 2:
                     offset = 0;
+                    av_fallthrough;
                 case 3:
                     color = bytestream2_get_byte(&c->gb);
+                    av_fallthrough;
                 case 4:
                     mask = bytestream2_get_byte(&c->gb);
                     copy_color_mask(dst + offset, c->width, mask, color);
                     break;
                 case 5:
                     offset = 0;
+                    av_fallthrough;
                 case 6:
                     set_src_position(c, &src, &send);
+                    av_fallthrough;
                 case 7:
                     if (src + offset + c->width + 4 > send)
                         return AVERROR_INVALIDDATA;

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

Reply via email to