You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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;
|
||||
while (s->cur_chan < s->channels) {
|
||||
int cmd;
|
||||
unsigned cmd;
|
||||
int len;
|
||||
|
||||
if (get_bits_left(&s->gb) < 3+FNSIZE) {
|
||||
|
Reference in New Issue
Block a user