On 2021-09-08 20:53, Dale Curtis wrote:
> It's very possible we're overly conservative with what we've included
> under USE_PROPRIETARY_CODECS -- but that's the safest choice. I'd
> suggest you talk with your lawyers if you want to move that block out
> from under proprietary codecs.
Fortunately we do not need to depend on the presence of that block (even
if it is very tempting to patch out USE_PROPRIETARY_CODECS checks there
as it will do simplify codec implementation - thanks ). AudioToolbox and
Windows Media Foundation supports decoding with and without ADTS
headers. It is just a matter of properly configuring API. But then, as
was pointed in other threads, presence of extra_data in
AudioDecoderConfig is a good indicator of the format. And if that turned
out to be not reliable, we can patch the config and demuxers with more
precise indicators even if that is not ideal.
Regards, Igor