[libav-commits] dxva2_h264: Remove an unused variable

Martin Storsjö git at libav.org
Tue Jun 21 21:16:54 CEST 2016

Module: libav
Branch: master
Commit: 8c3c7b8920033d61c7aa15a4465b759c84e5958f

Author:    Martin Storsjö <martin at martin.st>
Committer: Martin Storsjö <martin at martin.st>
Date:      Tue Jun 21 14:13:40 2016 +0300

dxva2_h264: Remove an unused variable

This was introduced by mistake in 39cdbb12aa214 (only one of the
added variables were really needed).

Signed-off-by: Martin Storsjö <martin at martin.st>


 libavcodec/dxva2_h264.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index 52c59fb..5622c22 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -166,7 +166,6 @@ 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));

More information about the libav-commits mailing list