summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-12-07 14:58:38 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-12-07 14:58:38 +0100
commit2730a2013daab9a69b021fe107a60e601ec9d688 (patch)
treee4c30b175299f763447ce0296413dda2253916a4 /libavcodec
parent0ecec7449c580dfb8b9f6f53dff413cec38e4982 (diff)
parentb74b88f30da2389f333a31815d8326d5576d3331 (diff)
Merge commit 'b74b88f30da2389f333a31815d8326d5576d3331'
* commit 'b74b88f30da2389f333a31815d8326d5576d3331': g723_1: Handle values at the ends of the table in lsp2lpc() Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/g723_1_data.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/g723_1_data.h b/libavcodec/g723_1_data.h
index db7f6e4d3c..41ec341d6c 100644
--- a/libavcodec/g723_1_data.h
+++ b/libavcodec/g723_1_data.h
@@ -125,10 +125,8 @@ static const int16_t dc_lsp[LPC_ORDER] = {
0x6c46
};
-/**
- * Cosine table scaled by 2^14
- */
-static const int16_t cos_tab[COS_TBL_SIZE+1] = {
+/* Cosine table scaled by 2^14 */
+static const int16_t cos_tab[COS_TBL_SIZE + 1] = {
16384, 16383, 16379, 16373, 16364, 16353, 16340, 16324,
16305, 16284, 16261, 16235, 16207, 16176, 16143, 16107,
16069, 16029, 15986, 15941, 15893, 15843, 15791, 15736,