Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tim-Philipp Müller
Opus
Commits
168888f7
Commit
168888f7
authored
Mar 02, 2011
by
Jean-Marc Valin
Browse files
A float variable and a bug left in transient_analysis()
parent
6c8acbf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libcelt/celt.c
View file @
168888f7
...
...
@@ -317,9 +317,9 @@ static int transient_analysis(const celt_word32 * restrict in, int len, int C,
for
(
i
=
0
;
i
<
N
;
i
++
)
{
int
j
;
float
max_abs
=
0
;
celt_word16
max_abs
=
0
;
for
(
j
=
0
;
j
<
block
;
j
++
)
max_abs
=
MAX
32
(
max_abs
,
tmp
[
i
*
block
+
j
]);
max_abs
=
MAX
16
(
max_abs
,
ABS16
(
tmp
[
i
*
block
+
j
])
)
;
bins
[
i
]
=
max_abs
;
}
for
(
i
=
0
;
i
<
N
;
i
++
)
...
...
Write
Preview
Supports
Markdown
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