1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

avcodec/dxv: make prev variable unsigned

This commit is contained in:
Paul B Mahol 2020-02-22 00:15:43 +01:00
parent 051d11f659
commit 8e197a9638

View File

@ -867,8 +867,8 @@ static int dxv_decompress_dxt5(AVCodecContext *avctx)
{ {
DXVContext *ctx = avctx->priv_data; DXVContext *ctx = avctx->priv_data;
GetByteContext *gbc = &ctx->gbc; GetByteContext *gbc = &ctx->gbc;
uint32_t value, op; uint32_t value, op, prev;
int idx, prev, state = 0; int idx, state = 0;
int pos = 4; int pos = 4;
int run = 0; int run = 0;
int probe, check; int probe, check;