shorten: fix array subscript is below array bounds warning
Incidentally fixes alpha builds.
This commit is contained in:
@ -469,7 +469,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
|
|
||||||
s->cur_chan = 0;
|
s->cur_chan = 0;
|
||||||
while (s->cur_chan < s->channels) {
|
while (s->cur_chan < s->channels) {
|
||||||
int cmd;
|
unsigned cmd;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
if (get_bits_left(&s->gb) < 3+FNSIZE) {
|
if (get_bits_left(&s->gb) < 3+FNSIZE) {
|
||||||
|
Reference in New Issue
Block a user