diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-05-28 18:25:36 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-05-31 13:05:13 +0200 |
commit | 35818b8aaf4d669ed0bbb05c3fd06e619f2db01a (patch) | |
tree | d7b45e0495073b7275bdba3f8a8ead0f6383181b | |
parent | 5c720657c23afd798ae0db7c7362eb859a89ab3d (diff) | |
download | ffmpeg-35818b8aaf4d669ed0bbb05c3fd06e619f2db01a.tar.gz |
dxva2_hevc: fix 32x32 scaling lists
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavcodec/dxva2_hevc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c index 9d130d93a7..a2abb97d19 100644 --- a/libavcodec/dxva2_hevc.c +++ b/libavcodec/dxva2_hevc.c @@ -209,12 +209,12 @@ static void fill_scaling_lists(AVDXVAContext *ctx, const HEVCContext *h, DXVA_Qm qm->ucScalingLists2[i][j] = sl->sl[2][i][pos]; if (i < 2) - qm->ucScalingLists3[i][j] = sl->sl[3][i][pos]; + qm->ucScalingLists3[i][j] = sl->sl[3][i * 3][pos]; } qm->ucScalingListDCCoefSizeID2[i] = sl->sl_dc[0][i]; if (i < 2) - qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i]; + qm->ucScalingListDCCoefSizeID3[i] = sl->sl_dc[1][i * 3]; } } |