diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 66261d2a1a..b47e1a69f1 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -466,7 +466,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, s->cur_chan = 0; while (s->cur_chan < s->channels) { - int cmd; + unsigned int cmd; int len; if (get_bits_left(&s->gb) < 3+FNSIZE) {