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;