summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-23 20:26:24 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-23 20:26:24 +0000
commitd1024e0719cc5265347c3749da912daea36a8b27 (patch)
tree4fc0072c7ab241df84da692bf1ec8a55b20fbb89 /libavcodec/ra144.c
parentc17fd98cdcf4eb10a9f6fa7be398690d06d8efe3 (diff)
More comments improvement
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index c162e76a81..f5d1be3ec0 100644
--- 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)