ref: 3d09c5cb35ac3a3050179dbf9c202521d6a51525
parent: f18356675295587d41bc7cf2aa173af8c1619e0d
author: Mark Harris <[email protected]>
date: Mon Nov 18 11:52:22 EST 2013
Fixes previous commit Signed-off-by: Jean-Marc Valin <[email protected]>
--- a/src/repacketizer.c
+++ b/src/repacketizer.c
@@ -207,7 +207,7 @@
for (i=0;i<count;i++)
{
/* Using OPUS_MOVE() instead of OPUS_COPY() in case we're doing in-place
- padding from opus_packet_pad or opus_packet_strip(). */
+ padding from opus_packet_pad or opus_packet_unpad(). */
OPUS_MOVE(ptr, frames[i], len[i]);
ptr += len[i];
}
@@ -286,7 +286,7 @@
{
if (len<=0)
return OPUS_INVALID_PACKET;
- count = opus_packet_parse_impl(data, len, 0, &toc, NULL,
+ count = opus_packet_parse_impl(data, len, 1, &toc, NULL,
size, NULL, &packet_offset);
if (count<0)
return count;