[FFmpeg-cvslog] avcodec/vdpau_hevc: unbreak compilation after sps/pps changes

Philip Langdale git at videolan.org
Mon Jul 13 04:57:05 CEST 2015


ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Sun Jul 12 19:55:56 2015 -0700| [b11c3fce38906c9ef1089f240193fb9ee384e5fb] | committer: Philip Langdale

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b11c3fce38906c9ef1089f240193fb9ee384e5fb
---

 libavcodec/vdpau_hevc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c
index 0987b63..736d66a 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;



More information about the ffmpeg-cvslog mailing list