Fixup typo on jitter code

This commit is contained in:
Andreas Eversberg 2016-05-11 18:46:23 +02:00
parent 42eefe90bf
commit 27e8b03df5
1 changed files with 1 additions and 1 deletions

View File

@ -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");