diff options
author | Nils Wallménius <nils@rockbox.org> | 2013-12-11 22:59:14 +0100 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2013-12-16 21:13:23 +0100 |
commit | e3c2ed7a71f65dc721c7210f120259ecd4ff65cb (patch) | |
tree | de593c1e927dcc036f1b6656f1f881995491b3b9 /lib/rbcodec/codecs/libopus/celt/celt_lpc.c | |
parent | d0918b98fa0cfba21208a4fb5ed153687b8f02c3 (diff) | |
download | rockbox-e3c2ed7a71f65dc721c7210f120259ecd4ff65cb.tar.gz rockbox-e3c2ed7a71f65dc721c7210f120259ecd4ff65cb.zip |
Sync libopus to upstream release 1.1
Change-Id: I9fea7460fc33f60faff961b3389dd97b5191463c
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/celt_lpc.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/celt_lpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/celt_lpc.c b/lib/rbcodec/codecs/libopus/celt/celt_lpc.c index 7ffe90a357..fa29d626ea 100644 --- a/lib/rbcodec/codecs/libopus/celt/celt_lpc.c +++ b/lib/rbcodec/codecs/libopus/celt/celt_lpc.c | |||
@@ -226,7 +226,8 @@ int _celt_autocorr( | |||
226 | const opus_val16 *window, | 226 | const opus_val16 *window, |
227 | int overlap, | 227 | int overlap, |
228 | int lag, | 228 | int lag, |
229 | int n | 229 | int n, |
230 | int arch | ||
230 | ) | 231 | ) |
231 | { | 232 | { |
232 | opus_val32 d; | 233 | opus_val32 d; |
@@ -275,7 +276,7 @@ int _celt_autocorr( | |||
275 | shift = 0; | 276 | shift = 0; |
276 | } | 277 | } |
277 | #endif | 278 | #endif |
278 | celt_pitch_xcorr(xptr, xptr, ac, fastN, lag+1); | 279 | celt_pitch_xcorr(xptr, xptr, ac, fastN, lag+1, arch); |
279 | for (k=0;k<=lag;k++) | 280 | for (k=0;k<=lag;k++) |
280 | { | 281 | { |
281 | for (i = k+fastN, d = 0; i < n; i++) | 282 | for (i = k+fastN, d = 0; i < n; i++) |