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
94a69dee
Commit
94a69dee
authored
Sep 24, 2012
by
Nathan Caldwell
Committed by
Martin Storsjö
Sep 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libfdk-aac: Limit to supported sample rates.
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
2768b717
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
libfdk-aacenc.c
libavcodec/libfdk-aacenc.c
+6
-0
No files found.
libavcodec/libfdk-aacenc.c
View file @
94a69dee
...
...
@@ -393,6 +393,11 @@ static const uint64_t aac_channel_layout[] = {
0
,
};
static
const
int
aac_sample_rates
[]
=
{
96000
,
88200
,
64000
,
48000
,
44100
,
32000
,
24000
,
22050
,
16000
,
12000
,
11025
,
8000
,
0
};
AVCodec
ff_libfdk_aac_encoder
=
{
.
name
=
"libfdk_aac"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
...
...
@@ -408,5 +413,6 @@ AVCodec ff_libfdk_aac_encoder = {
.
priv_class
=
&
aac_enc_class
,
.
defaults
=
aac_encode_defaults
,
.
profiles
=
profiles
,
.
supported_samplerates
=
aac_sample_rates
,
.
channel_layouts
=
aac_channel_layout
,
};
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