Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
e335065a
Commit
e335065a
authored
Sep 01, 2011
by
Jean-Marc Valin
Browse files
passing self_delimited flag to opus_packet_parse_impl() in decoder
parent
40f956ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/opus_decoder.c
View file @
e335065a
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment