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
35a96ea9
Commit
35a96ea9
authored
Feb 06, 2011
by
Jean-Marc Valin
Browse files
minor detail with the last patch
parent
285bc372
Changes
1
Hide whitespace changes
Inline
Side-by-side
libcelt/rate.c
View file @
35a96ea9
...
...
@@ -420,7 +420,7 @@ static inline int interp_bits2pulses(const CELTMode *m, int start, int end, int
percoeff
=
left
/
(
m
->
eBands
[
codedBands
]
-
m
->
eBands
[
start
]);
left
-=
(
m
->
eBands
[
codedBands
]
-
m
->
eBands
[
start
])
*
percoeff
;
for
(
j
=
start
;
j
<
codedBands
;
j
++
)
bits
[
j
]
+=
(
int
)
(
percoeff
*
(
m
->
eBands
[
j
+
1
]
-
m
->
eBands
[
j
]));
bits
[
j
]
+=
(
(
int
)
percoeff
*
(
m
->
eBands
[
j
+
1
]
-
m
->
eBands
[
j
]));
for
(
j
=
start
;
j
<
codedBands
;
j
++
)
{
int
tmp
=
(
int
)
IMIN
(
left
,
m
->
eBands
[
j
+
1
]
-
m
->
eBands
[
j
]);
...
...
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