avcodec/avs: add fall-through annotations
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
#include "codec_internal.h"
|
#include "codec_internal.h"
|
||||||
#include "decode.h"
|
#include "decode.h"
|
||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
|
#include "libavutil/attributes.h"
|
||||||
|
|
||||||
typedef struct AvsContext {
|
typedef struct AvsContext {
|
||||||
AVFrame *frame;
|
AVFrame *frame;
|
||||||
@@ -98,6 +99,7 @@ static int avs_decode_frame(AVCodecContext * avctx, AVFrame *picture,
|
|||||||
case AVS_I_FRAME:
|
case AVS_I_FRAME:
|
||||||
p->pict_type = AV_PICTURE_TYPE_I;
|
p->pict_type = AV_PICTURE_TYPE_I;
|
||||||
p->flags |= AV_FRAME_FLAG_KEY;
|
p->flags |= AV_FRAME_FLAG_KEY;
|
||||||
|
av_fallthrough;
|
||||||
case AVS_P_FRAME_3X3:
|
case AVS_P_FRAME_3X3:
|
||||||
vect_w = 3;
|
vect_w = 3;
|
||||||
vect_h = 3;
|
vect_h = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user