summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_hevc.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2015-07-12 19:55:56 -0700
committerPhilip Langdale <philipl@overt.org>2015-07-12 19:56:54 -0700
commitb11c3fce38906c9ef1089f240193fb9ee384e5fb (patch)
treeaa1536bbf88ab59dc378d5e7dac1c68889bc0fe1 /libavcodec/vdpau_hevc.c
parent10d7d0880cd849caa81a872d2e01948ef7369485 (diff)
downloadffmpeg-b11c3fce38906c9ef1089f240193fb9ee384e5fb.tar.gz
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.
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;