oops, setting the max packet length correctly in speex_jitter_get()
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 16 Sep 2008 11:22:43 +0000 (07:22 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 16 Sep 2008 11:22:43 +0000 (07:22 -0400)
speexclient/speex_jitter_buffer.c

index 6f779b7..9df6659 100644 (file)
@@ -42,6 +42,7 @@ void speex_jitter_get(SpeexJitter *jitter, spx_int16_t *out, int *current_timest
    char data[2048];
    JitterBufferPacket packet;
    packet.data = data;
+   packet.len = 2048;
    
    if (jitter->valid_bits)
    {