[FFmpeg-cvslog] r13922 - trunk/libavcodec/ra144.c

vitor subversion
Mon Jun 23 22:26:24 CEST 2008


Author: vitor
Date: Mon Jun 23 22:26:24 2008
New Revision: 13922

Log:
More comments improvement

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Mon Jun 23 22:26:24 2008
@@ -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)




More information about the ffmpeg-cvslog mailing list