summaryrefslogtreecommitdiff
path: root/src/repacketizer.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-11-30 15:56:33 -0500
committerJean-Marc Valin <jmvalin@amazon.com>2022-11-30 15:56:33 -0500
commitf61282cab9f2580db64e5a48ebb224c5acb4fba0 (patch)
treef7e410177de5fdaaf89c539176e09b21ac61ff9b /src/repacketizer.c
parent43779321d5cf41b3133f62c8e1ad30b066af124f (diff)
downloadopus-exp_neural_fec2c.tar.gz
Code for extracting DRED from packetexp_neural_fec2c
Diffstat (limited to 'src/repacketizer.c')
-rw-r--r--src/repacketizer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/repacketizer.c b/src/repacketizer.c
index 3ae8ee36..df283ac8 100644
--- a/src/repacketizer.c
+++ b/src/repacketizer.c
@@ -82,7 +82,7 @@ static int opus_repacketizer_cat_impl(OpusRepacketizer *rp, const unsigned char
return OPUS_INVALID_PACKET;
}
- ret=opus_packet_parse_impl(data, len, self_delimited, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], NULL, NULL);
+ ret=opus_packet_parse_impl(data, len, self_delimited, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], NULL, NULL, NULL, NULL);
if(ret<1)return ret;
rp->nb_frames += curr_nb_frames;
@@ -316,7 +316,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, 1, &toc, NULL,
- size, NULL, &packet_offset);
+ size, NULL, &packet_offset, NULL, NULL);
if (count<0)
return count;
data += packet_offset;
@@ -348,7 +348,7 @@ opus_int32 opus_multistream_packet_unpad(unsigned char *data, opus_int32 len, in
return OPUS_INVALID_PACKET;
opus_repacketizer_init(&rp);
ret = opus_packet_parse_impl(data, len, self_delimited, &toc, NULL,
- size, NULL, &packet_offset);
+ size, NULL, &packet_offset, NULL, NULL);
if (ret<0)
return ret;
ret = opus_repacketizer_cat_impl(&rp, data, packet_offset, self_delimited);