aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.c
diff options
context:
space:
mode:
authorRomain Beauxis <toots@rastageeks.org>2024-01-01 09:52:50 -0600
committerSteven Liu <liuqi05@kuaishou.com>2024-01-04 09:59:45 +0800
commit797f0b27c175022d896e46db4ac2873e3e0a70af (patch)
tree652366a6015ec3fc2ee94e12c64397a62d4a283d /libavcodec/rangecoder.c
parent6b1fb5a9406e6bb7e03976039c4f3691c19c1fca (diff)
downloadffmpeg-797f0b27c175022d896e46db4ac2873e3e0a70af.tar.gz
libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr.
This patch populates the third entry for HLS codec attribute using the AAC profile. The HLS specifications[1] require this value to be the Object Type ID as referred to in table 1.3 of ISO/IEC 14496-3:2009[2]. The numerical constants in the code refer to these OTIs minus one, as documented in commit 372597e[3], confirmed by comparing the values in the code with the values in the table mentioned above. Links: 1: https://datatracker.ietf.org/doc/html/rfc6381#section-3.3 2: https://csclub.uwaterloo.ca/~ehashman/ISO14496-3-2009.pdf 3: https://github.com/FFmpeg/FFmpeg/commit/372597e5381c097455a7b73849254d56083eb056 Changes in this version: - Default value set to "mp4a.40.2" when profile is unknown for backward compatibility. Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions