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
06d37fed
Commit
06d37fed
authored
Aug 10, 2011
by
Alex Converse
Committed by
Luca Barbato
Aug 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: Set SBR and PS to unsignalled during headerless and ADTS initialization.
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
d8425ed4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
aacdec.c
libavcodec/aacdec.c
+2
-0
No files found.
libavcodec/aacdec.c
View file @
06d37fed
...
@@ -579,6 +579,8 @@ static av_cold int aac_decode_init(AVCodecContext *avctx)
...
@@ -579,6 +579,8 @@ static av_cold int aac_decode_init(AVCodecContext *avctx)
sr
=
sample_rate_idx
(
avctx
->
sample_rate
);
sr
=
sample_rate_idx
(
avctx
->
sample_rate
);
ac
->
m4ac
.
sampling_index
=
sr
;
ac
->
m4ac
.
sampling_index
=
sr
;
ac
->
m4ac
.
channels
=
avctx
->
channels
;
ac
->
m4ac
.
channels
=
avctx
->
channels
;
ac
->
m4ac
.
sbr
=
-
1
;
ac
->
m4ac
.
ps
=
-
1
;
for
(
i
=
0
;
i
<
FF_ARRAY_ELEMS
(
ff_mpeg4audio_channels
);
i
++
)
for
(
i
=
0
;
i
<
FF_ARRAY_ELEMS
(
ff_mpeg4audio_channels
);
i
++
)
if
(
ff_mpeg4audio_channels
[
i
]
==
avctx
->
channels
)
if
(
ff_mpeg4audio_channels
[
i
]
==
avctx
->
channels
)
...
...
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