Fixup typo on jitter code
This commit is contained in:
parent
42eefe90bf
commit
27e8b03df5
|
@ -28,7 +28,7 @@
|
|||
/* create jitter buffer */
|
||||
int jitter_create(jitter_t *jitter, int length)
|
||||
{
|
||||
memset(jitter, 0, sizeof(jitter));
|
||||
memset(jitter, 0, sizeof(*jitter));
|
||||
jitter->spl = calloc(length * sizeof(int16_t), 1);
|
||||
if (!jitter->spl) {
|
||||
PDEBUG(DDSP, DEBUG_ERROR, "No memory for jitter buffer.\n");
|
||||
|
|
Loading…
Reference in New Issue