[FFmpeg-cvslog] dxva2_h264: Unbreak compilation after 3176217c6
Martin Storsjö
git at videolan.org
Tue Jun 21 11:38:57 CEST 2016
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Apr 25 10:12:24 2016 +0300| [39cdbb12aa2140520246bc4c3e22436b9f8a121a] | committer: Martin Storsjö
dxva2_h264: Unbreak compilation after 3176217c6
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39cdbb12aa2140520246bc4c3e22436b9f8a121a
---
libavcodec/dxva2_h264.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index acaacb9..995f0e0 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++)
More information about the ffmpeg-cvslog
mailing list