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
Mark Harris
Opus
Commits
7013db7c
Commit
7013db7c
authored
Sep 29, 2009
by
Jean-Marc Valin
Browse files
Fix stereo mismatch problem
parent
6db9e6ef
Changes
1
Show whitespace changes
Inline
Side-by-side
libcelt/bands.c
View file @
7013db7c
...
...
@@ -681,7 +681,7 @@ void quant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t
}
/* If pitch isn't available, use intra-frame prediction */
if
(
q1
+
q2
==
0
)
if
(
q1
==
0
)
{
intra_fold
(
m
,
X
+
C
*
eBands
[
i
],
eBands
[
i
+
1
]
-
eBands
[
i
],
norm
,
P
+
C
*
eBands
[
i
],
eBands
[
i
],
B
);
deinterleave
(
P
+
C
*
eBands
[
i
],
C
*
N
);
...
...
@@ -957,7 +957,7 @@ void unquant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm
/* If pitch isn't available, use intra-frame prediction */
if
(
q1
+
q2
==
0
)
if
(
q1
==
0
)
{
intra_fold
(
m
,
X
+
C
*
eBands
[
i
],
eBands
[
i
+
1
]
-
eBands
[
i
],
norm
,
P
+
C
*
eBands
[
i
],
eBands
[
i
],
B
);
deinterleave
(
P
+
C
*
eBands
[
i
],
C
*
N
);
...
...
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