Commit 4839fbe2 authored by Luca Barbato's avatar Luca Barbato

shorten: fix array subscript is below array bounds warning

Incidentally fixes alpha builds.
parent 05b0998f
...@@ -469,7 +469,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment