From b11c3fce38906c9ef1089f240193fb9ee384e5fb Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sun, 12 Jul 2015 19:55:56 -0700 Subject: avcodec/vdpau_hevc: unbreak compilation after sps/pps changes There was some reorganisation in the HEVC headers so the sps and pps now live in a different place. --- libavcodec/vdpau_hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/vdpau_hevc.c') 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; -- cgit v1.2.1