X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvdpau_hevc.c;h=736d66a6f78eeeaf67d9ed67aa83f89f142b7fe5;hb=157fa73992ab30b32160034e115aac21808084e2;hp=0987b63e2de42293f08decbe33e4c5ce105ae3a5;hpb=ddd86e4747f2e33bf6b6e0926e158c8998e05eb3;p=ffmpeg diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c index 0987b63e2de..736d66a6f78 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;