Update of /cvsroot/faac/faac/libfaac
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31178/libfaac
Modified Files:
psych.h psychkni.c
Log Message:
Minor fixes, cleanup
Index: psych.h
===================================================================
RCS file: /cvsroot/faac/faac/libfaac/psych.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** psych.h 24 Apr 2005 19:16:14 -0000 1.14
--- psych.h 5 Jun 2009 16:32:15 -0000 1.15
***************
*** 41,45 ****
/* Previous input samples */
double *prevSamples;
- double *prevSamplesS;
int block_type;
--- 41,44 ----
Index: psychkni.c
===================================================================
RCS file: /cvsroot/faac/faac/libfaac/psychkni.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** psychkni.c 24 Apr 2005 19:16:14 -0000 1.17
--- psychkni.c 5 Jun 2009 16:32:15 -0000 1.18
***************
*** 232,239 ****
psyInfo[channel].sizeS = size;
- psyInfo[channel].prevSamplesS =
- (double *) AllocMemory(size * sizeof(double));
- memset(psyInfo[channel].prevSamplesS, 0, size * sizeof(double));
-
for (j = 0; j < 8; j++)
{
--- 232,235 ----
***************
*** 274,279 ****
psydata_t *psydata = psyInfo[channel].data;
- if (psyInfo[channel].prevSamplesS)
- FreeMemory(psyInfo[channel].prevSamplesS);
for (j = 0; j < 8; j++)
{
--- 270,273 ----
|