[FFmpeg-devel] [PATCH] avformat/mm: add fallthrough comment

Peter Ross pross at xvid.org
Thu Nov 21 23:11:32 EET 2024


Fixes CID 1634888
---
 libavformat/mm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mm.c b/libavformat/mm.c
index 74e2716926..07ba6ac4f5 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -190,6 +190,7 @@ static int read_packet(AVFormatContext *s,
 
         default :
             av_log(s, AV_LOG_INFO, "unknown chunk type 0x%x\n", type);
+            /* fallthrough */
         case MM_TYPE_AUDIO2 :
             avio_skip(pb, length);
         }
-- 
2.45.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241122/2c4686f0/attachment.sig>


More information about the ffmpeg-devel mailing list