projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b0998
)
shorten: fix array subscript is below array bounds warning
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 28 Jan 2013 06:24:51 +0000
(07:24 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 28 Jan 2013 06:24:51 +0000
(07:24 +0100)
Incidentally fixes alpha builds.
libavcodec/shorten.c
patch
|
blob
|
history
diff --git
a/libavcodec/shorten.c
b/libavcodec/shorten.c
index
1dc010f
..
0d022f6
100644
(file)
--- a/
libavcodec/shorten.c
+++ b/
libavcodec/shorten.c
@@
-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) {