avcodec/dxv: make prev variable unsigned

pull/334/head
Paul B Mahol 5 years ago
parent 051d11f659
commit 8e197a9638
  1. 4
      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;

Loading…
Cancel
Save