mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
libaacplus: set supported channel_layouts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f05cfb654f
commit
82082695de
@ -119,6 +119,12 @@ static av_cold int aacPlus_encode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const uint64_t channel_layouts[] = {
|
||||
AV_CH_LAYOUT_MONO,
|
||||
AV_CH_LAYOUT_STEREO,
|
||||
0,
|
||||
};
|
||||
|
||||
AVCodec ff_libaacplus_encoder = {
|
||||
.name = "libaacplus",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -130,4 +136,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)"),
|
||||
.channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
|
||||
AV_CH_LAYOUT_STEREO,
|
||||
0 },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user