From 39cdbb12aa2140520246bc4c3e22436b9f8a121a Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 25 Apr 2016 10:12:24 +0300 Subject: dxva2_h264: Unbreak compilation after 3176217c6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavcodec/dxva2_h264.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c index acaacb9401..995f0e03dd 100644 --- a/libavcodec/dxva2_h264.c +++ b/libavcodec/dxva2_h264.c @@ -165,6 +165,8 @@ static void fill_picture_parameters(const AVCodecContext *avctx, AVDXVAContext * static void fill_scaling_lists(const AVCodecContext *avctx, AVDXVAContext *ctx, const H264Context *h, DXVA_Qmatrix_H264 *qm) { unsigned i, j; + const SPS *sps = h->ps.sps; + const PPS *pps = h->ps.pps; memset(qm, 0, sizeof(*qm)); if (DXVA_CONTEXT_WORKAROUND(avctx, ctx) & FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG) { for (i = 0; i < 6; i++) -- cgit v1.2.3