Forgotten after af6e232ccf8db2341361f02852017aac48772950.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/vdpau_vc1.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vdpau_vc1.c b/libavcodec/vdpau_vc1.c
index 4e5ee14428..0eacc4477d 100644
--- a/libavcodec/vdpau_vc1.c
+++ b/libavcodec/vdpau_vc1.c
@@ -48,16 +48,16 @@ static int vdpau_vc1_start_frame(AVCodecContext *avctx,
switch (s->pict_type) {
case AV_PICTURE_TYPE_B:
if (s->next_picture_ptr) {
- ref = ff_vdpau_get_surface_id(s->next_picture.f);
- assert(ref != VDP_INVALID_HANDLE);
- info->backward_reference = ref;
+ ref = ff_vdpau_get_surface_id(s->next_picture.f);
+ assert(ref != VDP_INVALID_HANDLE);
+ info->backward_reference = ref;
}
/* fall-through */
case AV_PICTURE_TYPE_P:
if (s->last_picture_ptr) {
- ref = ff_vdpau_get_surface_id(s->last_picture.f);
- assert(ref != VDP_INVALID_HANDLE);
- info->forward_reference = ref;
+ ref = ff_vdpau_get_surface_id(s->last_picture.f);
+ assert(ref != VDP_INVALID_HANDLE);
+ info->forward_reference = ref;
}
}
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".