[FFmpeg-cvslog] avcodec/dxv: make prev variable unsigned

Paul B Mahol git at videolan.org
Sat Feb 22 01:16:50 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Feb 22 00:15:43 2020 +0100| [8e197a96388a0891b05e60dd79ef3817f7662cba] | committer: Paul B Mahol

avcodec/dxv: make prev variable unsigned

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e197a96388a0891b05e60dd79ef3817f7662cba
---

 libavcodec/dxv.c | 4 ++--
 1 file 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;



More information about the ffmpeg-cvslog mailing list