[FFmpeg-cvslog] avformat/mm: add fallthrough comment

Peter Ross git at videolan.org
Mon Nov 25 08:59:35 EET 2024


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Fri Nov 22 08:03:35 2024 +1100| [4472dec51d834167fae1dc36357bbaa1482372a0] | committer: Peter Ross

avformat/mm: add fallthrough comment

Fixes CID 1634888

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4472dec51d834167fae1dc36357bbaa1482372a0
---

 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);
         }



More information about the ffmpeg-cvslog mailing list