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
b805482b
Commit
b805482b
authored
Nov 28, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: Provide more information on the failure message
Bug-Id: 761
parent
c5eb279e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
aacenc.c
libavcodec/aacenc.c
+3
-1
No files found.
libavcodec/aacenc.c
View file @
b805482b
...
...
@@ -744,7 +744,9 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
ERROR_IF
(
avctx
->
profile
!=
FF_PROFILE_UNKNOWN
&&
avctx
->
profile
!=
FF_PROFILE_AAC_LOW
,
"Unsupported profile %d
\n
"
,
avctx
->
profile
);
ERROR_IF
(
1024
.
0
*
avctx
->
bit_rate
/
avctx
->
sample_rate
>
6144
*
s
->
channels
,
"Too many bits per frame requested
\n
"
);
"Too many bits %f > %d per frame requested
\n
"
,
1024
.
0
*
avctx
->
bit_rate
/
avctx
->
sample_rate
,
6144
*
s
->
channels
);
s
->
samplerate_index
=
i
;
...
...
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