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
6f77122b
Commit
6f77122b
authored
Feb 22, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: reconfigure output on pop
Fixes Ticket1918 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c46400dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
aacdec.c
libavcodec/aacdec.c
+6
-0
No files found.
libavcodec/aacdec.c
View file @
6f77122b
...
...
@@ -115,6 +115,10 @@
static
VLC
vlc_scalefactors
;
static
VLC
vlc_spectral
[
11
];
static
int
output_configure
(
AACContext
*
ac
,
uint8_t
layout_map
[
MAX_ELEM_ID
*
4
][
3
],
int
tags
,
enum
OCStatus
oc_type
,
int
get_new_frame
);
#define overread_err "Input buffer exhausted before END element found\n"
static
int
count_channels
(
uint8_t
(
*
layout
)[
3
],
int
tags
)
...
...
@@ -408,6 +412,8 @@ static void pop_output_configuration(AACContext *ac) {
ac
->
oc
[
1
]
=
ac
->
oc
[
0
];
ac
->
avctx
->
channels
=
ac
->
oc
[
1
].
channels
;
ac
->
avctx
->
channel_layout
=
ac
->
oc
[
1
].
channel_layout
;
output_configure
(
ac
,
ac
->
oc
[
1
].
layout_map
,
ac
->
oc
[
1
].
layout_map_tags
,
ac
->
oc
[
1
].
status
,
0
);
}
}
...
...
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