Remove warning added by 4cc9a459
.
This commit is contained in:
parent
4cc9a459e8
commit
8a7543c49e
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,8 @@ static int opus_decode_frame(OpusDecoder *st, const unsigned char *data,
|
||||||
if (redundancy)
|
if (redundancy)
|
||||||
{
|
{
|
||||||
celt_to_silk = ec_dec_bit_logp(&dec, 1);
|
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 will be at least two, in the non-hybrid case due to the ec_tell() check above */
|
||||||
redundancy_bytes = mode==MODE_HYBRID ? ec_dec_uint(&dec, 256)+2 : len-((ec_tell(&dec)+7)>>3);
|
redundancy_bytes = mode==MODE_HYBRID ? (opus_int32)ec_dec_uint(&dec, 256)+2 : len-((ec_tell(&dec)+7)>>3);
|
||||||
len -= redundancy_bytes;
|
len -= redundancy_bytes;
|
||||||
if (len<0)
|
if (len<0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue