Commit 39cdbb12 authored by Martin Storsjö's avatar Martin Storsjö

dxva2_h264: Unbreak compilation after 3176217c

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 4012fe1e
...@@ -165,6 +165,8 @@ static void fill_picture_parameters(const AVCodecContext *avctx, AVDXVAContext * ...@@ -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) static void fill_scaling_lists(const AVCodecContext *avctx, AVDXVAContext *ctx, const H264Context *h, DXVA_Qmatrix_H264 *qm)
{ {
unsigned i, j; unsigned i, j;
const SPS *sps = h->ps.sps;
const PPS *pps = h->ps.pps;
memset(qm, 0, sizeof(*qm)); memset(qm, 0, sizeof(*qm));
if (DXVA_CONTEXT_WORKAROUND(avctx, ctx) & FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG) { if (DXVA_CONTEXT_WORKAROUND(avctx, ctx) & FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG) {
for (i = 0; i < 6; i++) for (i = 0; i < 6; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment