changeset 7108:e02e62ffe510 libavcodec

More comments improvement
author vitor
date Mon, 23 Jun 2008 20:26:24 +0000
parents 1d9f28fe9bd3
children c6b0282e4eff
files ra144.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Mon Jun 23 20:24:06 2008 +0000
+++ b/ra144.c	Mon Jun 23 20:26:24 2008 +0000
@@ -41,7 +41,9 @@
     /** 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)