From 4839fbe2d1b922b387e1a58261eeba2efe164a4e Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 28 Jan 2013 07:24:51 +0100 Subject: shorten: fix array subscript is below array bounds warning Incidentally fixes alpha builds. --- libavcodec/shorten.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/shorten.c') diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 1dc010f441..0d022f67cc 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -469,7 +469,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, s->cur_chan = 0; while (s->cur_chan < s->channels) { - int cmd; + unsigned cmd; int len; if (get_bits_left(&s->gb) < 3+FNSIZE) { -- cgit v1.2.3