passing self_delimited flag to opus_packet_parse_impl() in decoder
This commit is contained in:
parent
40f956eed0
commit
e335065a1b
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ int opus_decode_native(OpusDecoder *st, const unsigned char *data,
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue