Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
aec0ee41
Commit
aec0ee41
authored
Dec 21, 2009
by
Jean-Marc Valin
Browse files
C89 friendliness
parent
d5f99308
Changes
1
Hide whitespace changes
Inline
Side-by-side
libcelt/celt.c
View file @
aec0ee41
...
...
@@ -1289,6 +1289,7 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
float
exc
[
MAX_PERIOD
];
float
ac
[
LPC_ORDER
+
1
];
float
decay
=
1
;
float
S1
=
0
;
celt_word32
mem
[
LPC_ORDER
]
=
{
0
};
offset
=
MAX_PERIOD
-
pitch_index
;
...
...
@@ -1331,7 +1332,6 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
decay
=
1
;
}
float
S1
=
0
;
/* Copy excitation, taking decay into account */
for
(
i
=
0
;
i
<
len
+
st
->
mode
->
overlap
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment