This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 5b9d8901a9 avformat/shared: use av_fallthrough to mark fallthroughs
5b9d8901a9 is described below
commit 5b9d8901a953ad1ba90e88319376fe8eb2d81b81
Author: Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Jun 4 19:19:41 2026 +0200
Commit: Andreas Rheinhardt <[email protected]>
CommitDate: Thu Jun 4 19:43:15 2026 +0200
avformat/shared: use av_fallthrough to mark fallthroughs
Reviewed-by: Kacper Michajłow <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/shared.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/shared.c b/libavformat/shared.c
index a7a85f41bd..0b02dd42be 100644
--- a/libavformat/shared.c
+++ b/libavformat/shared.c
@@ -21,6 +21,7 @@
* Based on cache.c by Michael Niedermayer
*/
+#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/crc.h"
@@ -639,7 +640,7 @@ retry:
case BLOCK_FAILED:
if (!s->retry_errors)
return AVERROR(EIO);
- /* fall through */
+ av_fallthrough;
case BLOCK_NONE:
if (s->read_only)
break; /* don't mark block as pending */
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]