[xiph-cvs] cvs commit: vorbis/lib codebook.c

Jack Moffitt jack at xiph.org
Thu Oct 19 23:19:40 PDT 2000



jack        00/10/19 23:19:40

  Modified:    lib      Tag: branch_beta3 codebook.c
  Log:
  Bug in the code i originally commited for msmith.  now fixed on his
  behalf :)

Revision  Changes    Path
No                   revision

No                   revision

1.18.2.1  +2 -2      vorbis/lib/codebook.c

Index: codebook.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/codebook.c,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -r1.18 -r1.18.2.1
--- codebook.c	2000/10/12 03:12:52	1.18
+++ codebook.c	2000/10/20 06:19:40	1.18.2.1
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: basic codebook pack/unpack/code/decode operations
- last mod: $Id: codebook.c,v 1.18 2000/10/12 03:12:52 xiphmont Exp $
+ last mod: $Id: codebook.c,v 1.18.2.1 2000/10/20 06:19:40 jack Exp $
 
  ********************************************************************/
 
@@ -388,7 +388,7 @@
 long s_vorbis_book_decodevs(codebook *book,float *a,oggpack_buffer *b,
                          int step,int addmul){
   long *entry = alloca(sizeof(long)*step);
-  float **t = alloca(sizeof(float)*step);
+  float **t = alloca(sizeof(float *)*step);
   int i,j,o;
 
   for (i = 0; i < step; i++) {

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list