summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-06-21 14:13:40 +0300
committerMartin Storsjö <martin@martin.st>2016-06-21 22:09:35 +0300
commit8c3c7b8920033d61c7aa15a4465b759c84e5958f (patch)
tree4c27e375dcc4bf0bfff0fce7538f7e0d2a446ebe
parentdc7501e524dc3270335749302c7aa449973625f3 (diff)
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@martin.st>
-rw-r--r--libavcodec/dxva2_h264.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index 52c59fb38c..5622c228c7 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));
if (DXVA_CONTEXT_WORKAROUND(avctx, ctx) & FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG) {