Fixes a fixed-point precision issue in remove_doubling()
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 18 Jun 2016 15:15:25 +0000 (11:15 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 18 Jun 2016 15:15:25 +0000 (11:15 -0400)
commitddea3a6fbfa5727e8d7c4d1a8943bb72862a90ee
tree103ce750a7ec086e0dec0d3cdf222aeaa89a30df
parentb370a938ca09e5d97ae54159cab779c1b34db8f7
Fixes a fixed-point precision issue in remove_doubling()

This could lead to an integer overflow. Also, refactored the code a bit
celt/pitch.c