diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-04-16 09:49:37 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-04-16 10:20:17 +0000 |
commit | 0b06bd1c7a1df2d957d4a74765359ec024c971f5 (patch) | |
tree | a98b4117e5bffdddeffebf4eba64ff5678b9abc2 /libavcodec/libaacplus.c | |
parent | 82082695de3bde1a960769af12014ab48c64f8f7 (diff) | |
download | ffmpeg-0b06bd1c7a1df2d957d4a74765359ec024c971f5.tar.gz |
libaacplus: set supported profiles
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/libaacplus.c')
-rw-r--r-- | libavcodec/libaacplus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/libaacplus.c b/libavcodec/libaacplus.c index a06ce36820..65b90f6919 100644 --- a/libavcodec/libaacplus.c +++ b/libavcodec/libaacplus.c @@ -119,6 +119,11 @@ static av_cold int aacPlus_encode_close(AVCodecContext *avctx) return 0; } +static const AVProfile profiles[] = { + { FF_PROFILE_AAC_LOW, "LC" }, + { FF_PROFILE_UNKNOWN }, +}; + static const uint64_t channel_layouts[] = { AV_CH_LAYOUT_MONO, AV_CH_LAYOUT_STEREO, @@ -136,6 +141,7 @@ AVCodec ff_libaacplus_encoder = { .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, .long_name = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"), + .profiles = profiles, .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO, AV_CH_LAYOUT_STEREO, 0 }, |