Cosmetics: Make the two additional units in size more clear
authorVitor Sessak <vitor1001@gmail.com>
Mon, 8 Sep 2008 18:13:53 +0000 (18:13 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Mon, 8 Sep 2008 18:13:53 +0000 (18:13 +0000)
Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ra144.c

index 2918902c9f80939e573de2e63bf79748f271776c..f86e0bf4ae76bbbd4a0563d367d4a5afaca60329 100644 (file)
@@ -48,7 +48,7 @@ typedef struct {
 
     /** adaptive codebook. Its size is two units bigger to avoid a
      *  buffer overflow */
-    uint16_t adapt_cb[148];
+    uint16_t adapt_cb[146+2];
 } RA144Context;
 
 static int ra144_decode_init(AVCodecContext * avctx)