Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2013-11-19 01:52:22 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-19 01:52:46 +0400
commit3d09c5cb35ac3a3050179dbf9c202521d6a51525 (patch)
tree6f30c9976941454401c217baa1263cb105dd0a0a /src/repacketizer.c
parentf18356675295587d41bc7cf2aa173af8c1619e0d (diff)
Fixes previous commit
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'src/repacketizer.c')
-rw-r--r--src/repacketizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repacketizer.c b/src/repacketizer.c
index 5bf0b5ab..7d0c59c5 100644
--- a/src/repacketizer.c
+++ b/src/repacketizer.c
@@ -207,7 +207,7 @@ opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int
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 @@ int opus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32
{
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;