mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
avcodec/lcevc_parser: replace fall-through comment with annotation
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user