aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec_float.c
diff options
context:
space:
mode:
authorMarth64 <marth64@proxyid.net>2023-02-18 13:43:00 -0600
committerHendrik Leppkes <h.leppkes@gmail.com>2023-03-02 13:45:51 +0100
commita4e5b946332dd625affd0e259eb787575e5c32f2 (patch)
tree0dae90f7c0090b690db6643bcf1ada5e3042a8c0 /libavcodec/ac3dec_float.c
parent814178f92647be2411516bbb82f48532373d2554 (diff)
downloadffmpeg-a4e5b946332dd625affd0e259eb787575e5c32f2.tar.gz
avcodec/eac3dec: add detection of Atmos spatial extension profile
Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'libavcodec/ac3dec_float.c')
-rw-r--r--libavcodec/ac3dec_float.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3dec_float.c b/libavcodec/ac3dec_float.c
index b8868d8ee1..39d3cbd282 100644
--- a/libavcodec/ac3dec_float.c
+++ b/libavcodec/ac3dec_float.c
@@ -33,6 +33,7 @@
#include "ac3dec.h"
#include "codec_internal.h"
+#include "profiles.h"
#include "eac3dec.c"
#include "ac3dec.c"
@@ -92,6 +93,7 @@ const FFCodec ff_eac3_decoder = {
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },
.p.priv_class = &ac3_eac3_decoder_class,
+ .p.profiles = NULL_IF_CONFIG_SMALL(ff_eac3_profiles),
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
};
#endif