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

Git pushed a commit to branch master
in repository ffmpeg.

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

    avformat/nutdec: add fall-through annotations
---
 libavformat/nutdec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 34b7e3cb9a..b0a997cad6 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/avstring.h"
 #include "libavutil/avassert.h"
 #include "libavutil/bswap.h"
@@ -1182,12 +1183,14 @@ static int nut_read_packet(AVFormatContext *s, AVPacket 
*pkt)
             if (decode_syncpoint(nut, &ts, &back_ptr) < 0)
                 goto resync;
             frame_code = avio_r8(bc);
+            av_fallthrough;
         case 0:
             ret = decode_frame(nut, pkt, frame_code);
             if (ret == 0)
                 return 0;
             else if (ret == 1) // OK but discard packet
                 break;
+            av_fallthrough;
         default:
 resync:
             av_log(s, AV_LOG_DEBUG, "syncing from %"PRId64"\n", pos);

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

Reply via email to