21:51
aacdec_usac: error out on receiving too many channels for the current layout Verify that we have a correct number of channels. [DH] libavcodec/aac/aacdec_usac.c
21:45
aacdec_usac: error out on too many elements USAC supports up to 64 audio channels, but puts no limit on the total number of extensions that may be present. Which may mean that there's a single audio channel, with 65 thousand extension elements. We assume that 64 elements is the maximum for now. So check the value. [DH] libavcodec/aac/aacdec_usac.c
21:27
aacdec_usac: prevent get_bits(0) in get_escaped_value Some calls to get_escaped_value() specify 0 bits as the third value. This would result in get_bits(0), which is not a correct usage of the get_bits API. [DH] libavcodec/aac/aacdec_usac.c
21:52
aacdec_usac: fix off by one error check on channel numbers [DH] libavcodec/aac/aacdec_usac.c
23:14
avcodec/aac/aacdec_usac: remove unnecessary cast Fixes "libavcodec/aac/aacdec_usac.c(543): error C2440: 'type cast': cannot convert from 'GetBitContext' to 'GetBitContext'" from msvc. Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavcodec/aac/aacdec_usac.c
19:10
aacdec_usac: fix typo in fac_length The spec says: fac_length = (window_sequence==EIGHT_SHORT_SEQUENCE) ? ccfl/16 : ccfl/8; The length used was flipped for short vs long. [DH] libavcodec/aac/aacdec_usac.c
18:32
avcodec/aac/aacdec_usac: remove call to realloc Must be one of the lavu wrappers instead. Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavcodec/aac/aacdec_usac.c