summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_hevc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vdpau_hevc.c')
-rw-r--r--libavcodec/vdpau_hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c
index 0987b63e2d..736d66a6f7 100644
--- a/libavcodec/vdpau_hevc.c
+++ b/libavcodec/vdpau_hevc.c
@@ -37,8 +37,8 @@ static int vdpau_hevc_start_frame(AVCodecContext *avctx,
VdpPictureInfoHEVC *info = &pic_ctx->info.hevc;
- const HEVCSPS *sps = h->sps;
- const HEVCPPS *pps = h->pps;
+ const HEVCSPS *sps = h->ps.sps;
+ const HEVCPPS *pps = h->ps.pps;
const SliceHeader *sh = &h->sh;
const ScalingList *sl = pps->scaling_list_data_present_flag ?
&pps->scaling_list : &sps->scaling_list;