mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
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:
1 parent
c1203b5863
commit
7b9e4ff674
49 files changed
+2067
-1437
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user