Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
8a7543c4
Commit
8a7543c4
authored
Oct 03, 2011
by
Gregory Maxwell
Browse files
Remove warning added by
4cc9a459
.
parent
4cc9a459
Changes
1
Show whitespace changes
Inline
Side-by-side
src/opus_decoder.c
View file @
8a7543c4
...
...
@@ -322,8 +322,8 @@ static int opus_decode_frame(OpusDecoder *st, const unsigned char *data,
if
(
redundancy
)
{
celt_to_silk
=
ec_dec_bit_logp
(
&
dec
,
1
);
/*
Due to the ec_tell check above
redundancy_bytes will be at least two
for hybrid
*/
redundancy_bytes
=
mode
==
MODE_HYBRID
?
ec_dec_uint
(
&
dec
,
256
)
+
2
:
len
-
((
ec_tell
(
&
dec
)
+
7
)
>>
3
);
/* redundancy_bytes will be at least two
, in the non-hybrid case due to the ec_tell() check above
*/
redundancy_bytes
=
mode
==
MODE_HYBRID
?
(
opus_int32
)
ec_dec_uint
(
&
dec
,
256
)
+
2
:
len
-
((
ec_tell
(
&
dec
)
+
7
)
>>
3
);
len
-=
redundancy_bytes
;
if
(
len
<
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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