diff options
author | Martin Storsjö <martin@martin.st> | 2016-04-25 10:12:24 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-04-25 22:44:59 +0300 |
commit | 39cdbb12aa2140520246bc4c3e22436b9f8a121a (patch) | |
tree | 684e82f2b70929dda6ad7ff9c2382299c8f0452a /libavcodec | |
parent | 4012fe1ee819edc7689e182189e66c5401fb4b41 (diff) | |
download | ffmpeg-39cdbb12aa2140520246bc4c3e22436b9f8a121a.tar.gz |
dxva2_h264: Unbreak compilation after 3176217c6
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dxva2_h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
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++) |