mirror of
https://github.com/xiph/opus.git
synced 2025-06-05 15:03:39 +00:00
Fix flushing the final byte in the face of nothing but carry propagation.
This commit is contained in:
parent
583a14ac96
commit
6c87ba6c1b
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void ec_enc_done(ec_enc *_this){
|
|||
}
|
||||
}
|
||||
/*If we have a buffered byte flush it into the output buffer.*/
|
||||
if(_this->rem>=0){
|
||||
if(_this->rem>=0||_this->ext>0){
|
||||
ec_enc_carry_out(_this,0);
|
||||
_this->rem=-1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue