summaryrefslogtreecommitdiff
path: root/thirdparty/opus/repacketizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/opus/repacketizer.c')
-rw-r--r--thirdparty/opus/repacketizer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/thirdparty/opus/repacketizer.c b/thirdparty/opus/repacketizer.c
index bda44a148a..c80ee7f001 100644
--- a/thirdparty/opus/repacketizer.c
+++ b/thirdparty/opus/repacketizer.c
@@ -213,8 +213,7 @@ opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int
{
/* Using OPUS_MOVE() instead of OPUS_COPY() in case we're doing in-place
padding from opus_packet_pad or opus_packet_unpad(). */
- /* assert disabled because it's not valid in C. */
- /* celt_assert(frames[i] + len[i] <= data || ptr <= frames[i]); */
+ celt_assert(frames[i] + len[i] <= data || ptr <= frames[i]);
OPUS_MOVE(ptr, frames[i], len[i]);
ptr += len[i];
}