Various minor tweaks to spandsp and the ARM specific code now does fast top bit detection.

This commit is contained in:
Steve Underwood committed 2015-04-09 03:30:49 +08:00
1 parent d55c4a053b
commit 0d6c3a1d73
17 files changed
+234 -92

No files matched your search

+2 -2
View File
@@ -116,12 +116,12 @@ SPAN_DECLARE(gsm0610_state_t *) gsm0610_init(gsm0610_state_t *s, int packing)
{
if (s == NULL)
{
if ((s = (gsm0610_state_t *) span_alloc(sizeof (*s))) == NULL)
if ((s = (gsm0610_state_t *) span_alloc(sizeof(*s))) == NULL)
return NULL;
/*endif*/
}
/*endif*/
memset((char *) s, '\0', sizeof (gsm0610_state_t));
memset((char *) s, '\0', sizeof(gsm0610_state_t));
s->nrp = 40;
s->packing = packing;
return s;