mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-06 01:07:36 +08:00
avcodec/vdpau_vc1: Fix indentation
Forgotten after af6e232ccf
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -48,16 +48,16 @@ static int vdpau_vc1_start_frame(AVCodecContext *avctx,
|
|||||||
switch (s->pict_type) {
|
switch (s->pict_type) {
|
||||||
case AV_PICTURE_TYPE_B:
|
case AV_PICTURE_TYPE_B:
|
||||||
if (s->next_picture_ptr) {
|
if (s->next_picture_ptr) {
|
||||||
ref = ff_vdpau_get_surface_id(s->next_picture.f);
|
ref = ff_vdpau_get_surface_id(s->next_picture.f);
|
||||||
assert(ref != VDP_INVALID_HANDLE);
|
assert(ref != VDP_INVALID_HANDLE);
|
||||||
info->backward_reference = ref;
|
info->backward_reference = ref;
|
||||||
}
|
}
|
||||||
/* fall-through */
|
/* fall-through */
|
||||||
case AV_PICTURE_TYPE_P:
|
case AV_PICTURE_TYPE_P:
|
||||||
if (s->last_picture_ptr) {
|
if (s->last_picture_ptr) {
|
||||||
ref = ff_vdpau_get_surface_id(s->last_picture.f);
|
ref = ff_vdpau_get_surface_id(s->last_picture.f);
|
||||||
assert(ref != VDP_INVALID_HANDLE);
|
assert(ref != VDP_INVALID_HANDLE);
|
||||||
info->forward_reference = ref;
|
info->forward_reference = ref;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user