shorten: fix array subscript is below array bounds warning

Incidentally fixes alpha builds.
This commit is contained in:
Luca Barbato 2013-01-28 07:24:51 +01:00
parent 05b0998f51
commit 4839fbe2d1

View File

@ -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) {