diff options
author | Marth64 <marth64@proxyid.net> | 2023-02-18 13:43:00 -0600 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2023-03-02 13:45:51 +0100 |
commit | a4e5b946332dd625affd0e259eb787575e5c32f2 (patch) | |
tree | 0dae90f7c0090b690db6643bcf1ada5e3042a8c0 /libavcodec/ac3dec.c | |
parent | 814178f92647be2411516bbb82f48532373d2554 (diff) | |
download | ffmpeg-a4e5b946332dd625affd0e259eb787575e5c32f2.tar.gz |
avcodec/eac3dec: add detection of Atmos spatial extension profile
Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 0b120e6140..fc0cbeb493 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1714,6 +1714,7 @@ skip: if (!err) { avctx->sample_rate = s->sample_rate; avctx->bit_rate = s->bit_rate + s->prev_bit_rate; + avctx->profile = s->eac3_extension_type_a == 1 ? FF_PROFILE_EAC3_DDP_ATMOS : FF_PROFILE_UNKNOWN; } if (!avctx->sample_rate) { |