[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec svq1_cb.h,1.8,1.9

Michael Niedermayer CVS michael
Fri Mar 10 21:58:45 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv783

Modified Files:
	svq1_cb.h 
Log Message:
out of array read fix


Index: svq1_cb.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/svq1_cb.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- svq1_cb.h	12 Jan 2006 22:43:17 -0000	1.8
+++ svq1_cb.h	10 Mar 2006 20:58:42 -0000	1.9
@@ -764,9 +764,10 @@
 };
 
 /* list of codebooks for inter-coded vectors */
-static const int8_t* const svq1_inter_codebooks[4] = {
+static const int8_t* const svq1_inter_codebooks[6] = {
     svq1_inter_codebook_4x2, svq1_inter_codebook_4x4,
-    svq1_inter_codebook_8x4, svq1_inter_codebook_8x8
+    svq1_inter_codebook_8x4, svq1_inter_codebook_8x8,
+    NULL, NULL,
 };
 
 static const int8_t svq1_inter_codebook_sum[4][16*6] = {
@@ -1538,9 +1539,10 @@
 };
 
 /* list of codebooks for intra-coded vectors */
-static const int8_t* const svq1_intra_codebooks[4] = {
+static const int8_t* const svq1_intra_codebooks[6] = {
     svq1_intra_codebook_4x2, svq1_intra_codebook_4x4,
-    svq1_intra_codebook_8x4, svq1_intra_codebook_8x8
+    svq1_intra_codebook_8x4, svq1_intra_codebook_8x8,
+    NULL, NULL,
 };
 
 static const int8_t svq1_intra_codebook_sum[4][16*6] = {





More information about the ffmpeg-cvslog mailing list