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
0d031d61
Commit
0d031d61
authored
Jul 05, 2011
by
Jean-Marc Valin
Browse files
proper stereo handling for multiple frames per packet
parent
ef7095cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/opus_decoder.c
View file @
0d031d61
...
...
@@ -524,7 +524,7 @@ int opus_decode(OpusDecoder *st, const unsigned char *data,
if
(
ret
<
0
)
return
ret
;
data
+=
size
[
i
];
pcm
+=
ret
;
pcm
+=
ret
*
st
->
channels
;
nb_samples
+=
ret
;
}
return
nb_samples
;
...
...
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