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
0ee25733
Commit
0ee25733
authored
Jan 22, 2015
by
Niel van der Westhuizen
Committed by
Alex Converse
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacdec: Support for ER AAC in LATM
parent
edd9ea3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
aacdec.c
libavcodec/aacdec.c
+11
-1
No files found.
libavcodec/aacdec.c
View file @
0ee25733
...
...
@@ -3235,7 +3235,17 @@ static int latm_decode_frame(AVCodecContext *avctx, void *out,
return
AVERROR_INVALIDDATA
;
}
if
((
err
=
aac_decode_frame_int
(
avctx
,
out
,
got_frame_ptr
,
&
gb
))
<
0
)
switch
(
latmctx
->
aac_ctx
.
oc
[
1
].
m4ac
.
object_type
)
{
case
AOT_ER_AAC_LC
:
case
AOT_ER_AAC_LTP
:
case
AOT_ER_AAC_LD
:
case
AOT_ER_AAC_ELD
:
err
=
aac_decode_er_frame
(
avctx
,
out
,
got_frame_ptr
,
&
gb
);
break
;
default:
err
=
aac_decode_frame_int
(
avctx
,
out
,
got_frame_ptr
,
&
gb
);
}
if
(
err
<
0
)
return
err
;
return
muxlength
;
...
...
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