Browse Source

shorten: fix array subscript is below array bounds warning

Incidentally fixes alpha builds.
tags/n1.2
Luca Barbato 13 years ago
parent
commit
4839fbe2d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/shorten.c

+ 1
- 1
libavcodec/shorten.c 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) {


Loading…
Cancel
Save