Eliminate possibility of booklist overflow in res0/1/2 unpacking.
[platform/upstream/libvorbis.git] / lib / backends.h
index 9f5da3b..c6a638a 100644 (file)
@@ -111,7 +111,7 @@ typedef struct vorbis_info_residue0{
   int    partitions;       /* possible codebooks for a partition */
   int    groupbook;        /* huffbook for partitioning */
   int    secondstages[64]; /* expanded out to pointers in lookup */
-  int    booklist[256];    /* list of second stage books */
+  int    booklist[512];    /* list of second stage books */
 
   const float classmetric1[64];
   const float classmetric2[64];