Fixed use of the jitter buffer in celtclient.

This commit is contained in:
Gregory Maxwell 2008-10-28 13:18:10 -04:00 committed by Jean-Marc Valin
parent c5f2a9d988
commit ae2fb591b8

View file

@ -184,6 +184,7 @@ int main(int argc, char *argv[])
JitterBufferPacket packet;
/* Get audio from the jitter buffer */
packet.data = msg;
packet.len = MAX_MSG;
jitter_buffer_get(jitter, &packet, FRAME_SIZE, NULL);
celt_decode(dec_state, packet.data, packet.len, pcm);
} else {