[xiph-cvs] cvs commit: vorbis/lib psy.c
Michael Smith
msmith at xiph.org
Tue Mar 20 23:44:48 PST 2001
msmith 01/03/20 23:44:47
Modified: lib psy.c
Log:
allocation fix - sizeof(long) instead of sizeof(int) to fix problems
on 64 bit platforms.
Thanks to Bill Nottingham for tracking this one down.
Revision Changes Path
1.44 +2 -2 vorbis/lib/psy.c
Index: psy.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/psy.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- psy.c 2001/02/26 03:50:42 1.43
+++ psy.c 2001/03/21 07:44:46 1.44
@@ -11,7 +11,7 @@
********************************************************************
function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.43 2001/02/26 03:50:42 xiphmont Exp $
+ last mod: $Id: psy.c,v 1.44 2001/03/21 07:44:46 msmith Exp $
********************************************************************/
@@ -191,7 +191,7 @@
p->total_octave_lines=maxoc-p->firstoc+1;
p->ath=_ogg_malloc(n*sizeof(float));
- p->octave=_ogg_malloc(n*sizeof(int));
+ p->octave=_ogg_malloc(n*sizeof(long));
p->bark=_ogg_malloc(n*sizeof(float));
p->vi=vi;
p->n=n;
--- >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