shithub: opus

Download patch

ref: ae2fb591b89a8a5cc29fcb89fc53639ebfe84314
parent: c5f2a9d988fe4fddae0b499d1a12d12cee6c849f
author: Gregory Maxwell <[email protected]>
date: Tue Oct 28 09:18:10 EDT 2008

Fixed use of the jitter buffer in celtclient.

--- a/tools/celtclient.c
+++ b/tools/celtclient.c
@@ -184,6 +184,7 @@
             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 {