summaryrefslogtreecommitdiff
path: root/libavcodec/shorten.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-01-28 07:24:51 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-01-28 07:24:51 +0100
commit4839fbe2d1b922b387e1a58261eeba2efe164a4e (patch)
tree3561ba35503317afa3729e21861534f2b77e1398 /libavcodec/shorten.c
parent05b0998f511ffa699407465d48c7d5805f746ad2 (diff)
shorten: fix array subscript is below array bounds warning
Incidentally fixes alpha builds.
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r--libavcodec/shorten.c2
1 files changed, 1 insertions, 1 deletions
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) {