Commit 890b771c authored by Anssi Hannula's avatar Anssi Hannula Committed by Michael Niedermayer

libfaac: add recognized profiles array

Signed-off-by: 's avatarJanne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit b92f76e2)
parent 5b7e7544
...@@ -145,6 +145,14 @@ static av_cold int Faac_encode_close(AVCodecContext *avctx) ...@@ -145,6 +145,14 @@ static av_cold int Faac_encode_close(AVCodecContext *avctx)
return 0; return 0;
} }
static const AVProfile profiles[] = {
{ FF_PROFILE_AAC_MAIN, "Main" },
{ FF_PROFILE_AAC_LOW, "LC" },
{ FF_PROFILE_AAC_SSR, "SSR" },
{ FF_PROFILE_AAC_LTP, "LTP" },
{ FF_PROFILE_UNKNOWN },
};
AVCodec libfaac_encoder = { AVCodec libfaac_encoder = {
"libfaac", "libfaac",
AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_AUDIO,
...@@ -155,4 +163,5 @@ AVCodec libfaac_encoder = { ...@@ -155,4 +163,5 @@ AVCodec libfaac_encoder = {
Faac_encode_close, Faac_encode_close,
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"), .long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
.profiles = NULL_IF_CONFIG_SMALL(profiles),
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment