Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ad51833a
Commit
ad51833a
authored
Sep 23, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacsbr: prevent multiple ff_aac_sbr_ctx_init()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
abe0dbea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
aacsbr.c
libavcodec/aacsbr.c
+2
-0
No files found.
libavcodec/aacsbr.c
View file @
ad51833a
...
...
@@ -131,6 +131,8 @@ av_cold void ff_aac_sbr_init(void)
av_cold
void
ff_aac_sbr_ctx_init
(
AACContext
*
ac
,
SpectralBandReplication
*
sbr
)
{
float
mdct_scale
;
if
(
sbr
->
mdct
.
mdct_bits
)
return
;
sbr
->
kx
[
0
]
=
sbr
->
kx
[
1
]
=
32
;
//Typo in spec, kx' inits to 32
sbr
->
data
[
0
].
e_a
[
1
]
=
sbr
->
data
[
1
].
e_a
[
1
]
=
-
1
;
sbr
->
data
[
0
].
synthesis_filterbank_samples_offset
=
SBR_SYNTHESIS_BUF_SIZE
-
(
1280
-
128
);
...
...
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