diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-01-28 07:24:51 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-28 07:24:51 +0100 |
commit | 4839fbe2d1b922b387e1a58261eeba2efe164a4e (patch) | |
tree | 3561ba35503317afa3729e21861534f2b77e1398 /libavcodec/shorten.c | |
parent | 05b0998f511ffa699407465d48c7d5805f746ad2 (diff) | |
download | ffmpeg-4839fbe2d1b922b387e1a58261eeba2efe164a4e.tar.gz |
shorten: fix array subscript is below array bounds warning
Incidentally fixes alpha builds.
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r-- | libavcodec/shorten.c | 2 |
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) { |