From 8e197a96388a0891b05e60dd79ef3817f7662cba Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 22 Feb 2020 00:15:43 +0100 Subject: [PATCH] avcodec/dxv: make prev variable unsigned --- libavcodec/dxv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c index b51d6393b04..71d85208d86 100644 --- a/libavcodec/dxv.c +++ b/libavcodec/dxv.c @@ -867,8 +867,8 @@ static int dxv_decompress_dxt5(AVCodecContext *avctx) { DXVContext *ctx = avctx->priv_data; GetByteContext *gbc = &ctx->gbc; - uint32_t value, op; - int idx, prev, state = 0; + uint32_t value, op, prev; + int idx, state = 0; int pos = 4; int run = 0; int probe, check; -- 2.39.5