Fixes a bug in silk_sum_sqr_shift() that was causing issues with Burg.
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Wed, 18 Jun 2014 21:06:32 +0000 (17:06 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Wed, 18 Jun 2014 21:06:32 +0000 (17:06 -0400)
commita88d8365d42e5369777afa496b43ea88a1aa9106
treeb047eebee40900f7c726dc99ccdf3bbd114c819a
parentf396c08f772a5ad4b364a9a2104b4af3678b7428
Fixes a bug in silk_sum_sqr_shift() that was causing issues with Burg.

When an overflow happened in silk_sum_sqr_shift(), the sample pair causing
the overflow would be counted twice. This would lead to the C0 in
silk_burg_modified() being too large and cause problems on loud, tonal
signals. Thanks to Marcello Caramma for tracking down the problem.
silk/sum_sqr_shift.c