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
b9302677
Commit
b9302677
authored
Jul 05, 2018
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libfdk-aac: Use enum names instead of literal numbers for the output format
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
52fd2afc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libfdk-aacenc.c
libavcodec/libfdk-aacenc.c
+2
-1
No files found.
libavcodec/libfdk-aacenc.c
View file @
b9302677
...
...
@@ -227,7 +227,8 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
/* Choose bitstream format - if global header is requested, use
* raw access units, otherwise use ADTS. */
if
((
err
=
aacEncoder_SetParam
(
s
->
handle
,
AACENC_TRANSMUX
,
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
?
0
:
s
->
latm
?
10
:
2
))
!=
AACENC_OK
)
{
avctx
->
flags
&
AV_CODEC_FLAG_GLOBAL_HEADER
?
TT_MP4_RAW
:
s
->
latm
?
TT_MP4_LOAS
:
TT_MP4_ADTS
))
!=
AACENC_OK
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Unable to set the transmux format: %s
\n
"
,
aac_get_error
(
err
));
goto
error
;
...
...
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