Module: libav Branch: master Commit: 4839fbe2d1b922b387e1a58261eeba2efe164a4e
Author: Luca Barbato <[email protected]> Committer: Luca Barbato <[email protected]> Date: Mon Jan 28 07:24:51 2013 +0100 shorten: fix array subscript is below array bounds warning Incidentally fixes alpha builds. --- libavcodec/shorten.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 1dc010f..0d022f6 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) { _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
