avformat/shared: use av_fallthrough to mark fallthroughs

Reviewed-by: Kacper Michajłow <kasper93@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-06-04 19:43:15 +02:00
parent ca1b3c79a4
commit 5b9d8901a9
+2 -1
View File
@@ -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 */