avcodec/vdpau_mpeg12: Use av_fallthrough to mark fallthrough
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -51,7 +51,7 @@ static int vdpau_mpeg_start_frame(AVCodecContext *avctx,
|
|||||||
ref = ff_vdpau_get_surface_id(s->next_pic.ptr->f);
|
ref = ff_vdpau_get_surface_id(s->next_pic.ptr->f);
|
||||||
assert(ref != VDP_INVALID_HANDLE);
|
assert(ref != VDP_INVALID_HANDLE);
|
||||||
info->backward_reference = ref;
|
info->backward_reference = ref;
|
||||||
/* fall through to forward prediction */
|
av_fallthrough;
|
||||||
case AV_PICTURE_TYPE_P:
|
case AV_PICTURE_TYPE_P:
|
||||||
ref = ff_vdpau_get_surface_id(s->last_pic.ptr->f);
|
ref = ff_vdpau_get_surface_id(s->last_pic.ptr->f);
|
||||||
info->forward_reference = ref;
|
info->forward_reference = ref;
|
||||||
|
|||||||
Reference in New Issue
Block a user