mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +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:
@@ -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