summaryrefslogtreecommitdiff
path: root/libavcodec/dxv.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-02-22 00:15:43 +0100
committerPaul B Mahol <onemda@gmail.com>2020-02-22 00:15:43 +0100
commit8e197a96388a0891b05e60dd79ef3817f7662cba (patch)
treedaddbf64f4189ad7c19c202043accf49850b0d90 /libavcodec/dxv.c
parent051d11f659455f38be7ce40e2dc9d03b082dcd4d (diff)
downloadffmpeg-8e197a96388a0891b05e60dd79ef3817f7662cba.tar.gz
avcodec/dxv: make prev variable unsigned
Diffstat (limited to 'libavcodec/dxv.c')
-rw-r--r--libavcodec/dxv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index b51d6393b0..71d85208d8 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;