ref: e335065a1ba72c474b2bf9324e789d5e1dc1e884
parent: 40f956eed01dc512e3f53d2e90a5fd281a4706a6
author: Jean-Marc Valin <[email protected]>
date: Thu Sep 1 16:55:07 EDT 2011
passing self_delimited flag to opus_packet_parse_impl() in decoder
--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -649,7 +649,7 @@
st->frame_size = opus_packet_get_samples_per_frame(data, st->Fs);
st->stream_channels = opus_packet_get_nb_channels(data);
- count = opus_packet_parse_impl(data, len, 0, &toc, NULL, size, &offset);
+ count = opus_packet_parse_impl(data, len, self_delimited, &toc, NULL, size, &offset);
if (count < 0)
return count;