mirror of
https://github.com/xiph/opus.git
synced 2025-05-30 23:27:42 +00:00
Prevents remove_doubling() from considering negative pitch gains
This commit is contained in:
parent
4f0c07f640
commit
b3deb5342f
1 changed files with 1 additions and 0 deletions
|
@ -365,6 +365,7 @@ opus_val16 remove_doubling(opus_val16 *x, int maxperiod, int minperiod,
|
|||
g = g1;
|
||||
}
|
||||
}
|
||||
best_xy = MAX32(0, best_xy);
|
||||
if (best_yy <= best_xy)
|
||||
pg = Q15ONE;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue