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:
c17fd98
)
More comments improvement
author
Vitor Sessak
<vitor1001@gmail.com>
Mon, 23 Jun 2008 20:26:24 +0000
(20:26 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Mon, 23 Jun 2008 20:26:24 +0000
(20:26 +0000)
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
c162e76
..
f5d1be3
100644
(file)
--- a/
libavcodec/ra144.c
+++ b/
libavcodec/ra144.c
@@
-41,7
+41,9
@@
typedef struct {
/** the current subblock padded by the last 10 values of the previous one*/
int16_t curr_sblock[50];
- uint16_t adapt_cb[148]; ///< adaptive codebook
+ /** adaptive codebook. Its size is two units bigger to avoid a
+ * buffer overflow */
+ uint16_t adapt_cb[148];
} RA144Context;
static int ra144_decode_init(AVCodecContext * avctx)