Browse Source

dxva2_h264: Unbreak compilation after 3176217c6

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n3.1
Martin Storsjö 9 years ago
parent
commit
39cdbb12aa
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/dxva2_h264.c

+ 2
- 0
libavcodec/dxva2_h264.c View File

@@ -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++)


Loading…
Cancel
Save