mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
avcodec/libxvid: Add av_fallthrough
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -407,12 +407,14 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx)
|
||||
case 5:
|
||||
x->me_flags |= XVID_ME_EXTSEARCH16 |
|
||||
XVID_ME_EXTSEARCH8;
|
||||
av_fallthrough;
|
||||
case 4:
|
||||
case 3:
|
||||
x->me_flags |= XVID_ME_ADVANCEDDIAMOND8 |
|
||||
XVID_ME_HALFPELREFINE8 |
|
||||
XVID_ME_CHROMA_PVOP |
|
||||
XVID_ME_CHROMA_BVOP;
|
||||
av_fallthrough;
|
||||
case 2:
|
||||
case 1:
|
||||
x->me_flags |= XVID_ME_ADVANCEDDIAMOND16 |
|
||||
@@ -427,11 +429,13 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx)
|
||||
XVID_ME_QUARTERPELREFINE8_RD |
|
||||
XVID_ME_EXTSEARCH_RD |
|
||||
XVID_ME_CHECKPREDICTION_RD;
|
||||
av_fallthrough;
|
||||
case FF_MB_DECISION_BITS:
|
||||
if (!(x->vop_flags & XVID_VOP_MODEDECISION_RD))
|
||||
x->vop_flags |= XVID_VOP_FAST_MODEDECISION_RD;
|
||||
x->me_flags |= XVID_ME_HALFPELREFINE16_RD |
|
||||
XVID_ME_QUARTERPELREFINE16_RD;
|
||||
av_fallthrough;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user