mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 19:55:08 +00:00
shorten: fix array subscript is below array bounds warning
Incidentally fixes alpha builds.
This commit is contained in:
parent
05b0998f51
commit
4839fbe2d1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user