|
|
@ -119,6 +119,11 @@ static av_cold int aacPlus_encode_close(AVCodecContext *avctx) |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const AVProfile profiles[] = { |
|
|
|
|
|
|
|
{ FF_PROFILE_AAC_LOW, "LC" }, |
|
|
|
|
|
|
|
{ FF_PROFILE_UNKNOWN }, |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
static const uint64_t channel_layouts[] = { |
|
|
|
static const uint64_t channel_layouts[] = { |
|
|
|
AV_CH_LAYOUT_MONO, |
|
|
|
AV_CH_LAYOUT_MONO, |
|
|
|
AV_CH_LAYOUT_STEREO, |
|
|
|
AV_CH_LAYOUT_STEREO, |
|
|
@ -136,6 +141,7 @@ AVCodec ff_libaacplus_encoder = { |
|
|
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, |
|
|
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, |
|
|
|
AV_SAMPLE_FMT_NONE }, |
|
|
|
AV_SAMPLE_FMT_NONE }, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"), |
|
|
|
.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, |
|
|
|
.channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO, |
|
|
|
AV_CH_LAYOUT_STEREO, |
|
|
|
AV_CH_LAYOUT_STEREO, |
|
|
|
0 }, |
|
|
|
0 }, |
|
|
|