]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/dxv: make prev variable unsigned
authorPaul B Mahol <onemda@gmail.com>
Fri, 21 Feb 2020 23:15:43 +0000 (00:15 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 21 Feb 2020 23:15:43 +0000 (00:15 +0100)
libavcodec/dxv.c

index b51d6393b040bd15197cd2bd04badeb3ca6220b8..71d85208d869761d7571f3da307ac0a149bb9fd6 100644 (file)
@@ -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;