diff --git a/libavcodec/lcevc_parser.c b/libavcodec/lcevc_parser.c index ce1635edb9..d3d6c38bd3 100644 --- a/libavcodec/lcevc_parser.c +++ b/libavcodec/lcevc_parser.c @@ -18,6 +18,7 @@ #include +#include "libavutil/attributes.h" #include "libavutil/mem.h" #include "avcodec.h" @@ -188,7 +189,7 @@ static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf, switch (nal->type) { case LCEVC_IDR_NUT: s->key_frame = 1; - // fall-through + av_fallthrough; case LCEVC_NON_IDR_NUT: parse_nal_unit(s, avctx, nal); break;