aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libfaac.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2011-01-21 21:58:54 +0000
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-22 03:07:32 +0100
commitb92f76e209b6912fb36ea2e588474c48ca231dea (patch)
treed8a1c9e81b4abd73221e671d09df8b7b29664e0a /libavcodec/libfaac.c
parent22272f61bb0b164b53c132ba0804842b66b871e0 (diff)
downloadffmpeg-b92f76e209b6912fb36ea2e588474c48ca231dea.tar.gz
libfaac: add recognized profiles array
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavcodec/libfaac.c')
-rw-r--r--libavcodec/libfaac.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index b220b1714e..e0425377aa 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -145,6 +145,14 @@ static av_cold int Faac_encode_close(AVCodecContext *avctx)
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 = {
"libfaac",
AVMEDIA_TYPE_AUDIO,
@@ -155,4 +163,5 @@ AVCodec libfaac_encoder = {
Faac_encode_close,
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
+ .profiles = NULL_IF_CONFIG_SMALL(profiles),
};