]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/vdpau_hevc: unbreak compilation after sps/pps changes
authorPhilip Langdale <philipl@overt.org>
Mon, 13 Jul 2015 02:55:56 +0000 (19:55 -0700)
committerPhilip Langdale <philipl@overt.org>
Mon, 13 Jul 2015 02:56:54 +0000 (19:56 -0700)
There was some reorganisation in the HEVC headers so the sps and pps
now live in a different place.

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;