Various updates to spandsp tests

spandsp logging now passes an opaque pointer to the logging routine, to
increase flexibility. Right now the pointer is set to NULL in all calls.
This commit is contained in:
Steve Underwood committed 2012-03-28 23:36:30 +08:00
1 parent c1203b5863
commit 7b9e4ff674
49 files changed
+2067 -1437

No files matched your search

-2
View File
@@ -188,7 +188,6 @@ SPAN_DECLARE(int) queue_read(queue_state_t *s, uint8_t *buf, int len)
SPAN_DECLARE(int) queue_read_byte(queue_state_t *s)
{
int real_len;
int to_end;
int iptr;
int optr;
int byte;
@@ -202,7 +201,6 @@ SPAN_DECLARE(int) queue_read_byte(queue_state_t *s)
if (real_len < 1)
return -1;
/*endif*/
to_end = s->len - optr;
byte = s->data[optr];
if (++optr >= s->len)
optr = 0;