]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_hevc.c
Merge commit 'ebe8b5d947c41449c684f17c6826fe6bc46c0360'
[ffmpeg] / libavcodec / vdpau_hevc.c
index 0987b63e2de42293f08decbe33e4c5ce105ae3a5..736d66a6f78eeeaf67d9ed67aa83f89f142b7fe5 100644 (file)
@@ -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;