dect
/
asterisk
Archived
13
0
Fork 0

Make sure s is initialized, make FAX_DETECT + OLD_DSP_ROUTINES build

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3479 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-07-19 16:00:40 +00:00
parent 6dbcbe8b1e
commit be211e93b8
2 changed files with 1 additions and 3 deletions

View File

@ -1457,7 +1457,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
int x, res, index;
char *c, *n, *l;
#ifdef ZAPATA_PRI
char *s;
char *s=NULL;
#endif
char callerid[256];
char dest[256]; /* must be same length as p->dialdest */

2
dsp.c
View File

@ -132,9 +132,7 @@ static struct progress {
#define DTMF_RELATIVE_PEAK_COL 6.3 /* 8dB */
#define DTMF_2ND_HARMONIC_ROW ((digitmode & DSP_DIGITMODE_RELAXDTMF) ? 1.7 : 2.5) /* 4dB normal */
#define DTMF_2ND_HARMONIC_COL 63.1 /* 18dB */
#ifndef OLD_DSP_ROUTINES
#define DTMF_TO_TOTAL_ENERGY 42.0
#endif
#ifdef OLD_DSP_ROUTINES
#define MF_THRESHOLD 8.0e7