This patch series try to fix endianity problems in a2dp-codecs.h file, then fixes parsing MPEG bit rate values, extend a2dp-codecs.h file for new A2DP codecs FastStream, aptX Low Latency, aptX HD and finally adds support for parsing information about FastStream, aptX Low Latency, aptX HD and LDAC codecs in avinfo utility. Changes since v1: * Fix style issues Pali Rohár (10): avinfo: Fix buffer overflow when parsing broken/malicious data avinfo: Show Vendor Specific Data a2dp-codecs: Add SBC prefix for MIN/MAX_BITPOOL constants a2dp-codecs: Fix codec id for ATRAC a2dp-codecs & avinfo: Fix parsing MPEG bit rate values a2dp-codecs: Define a2dp_vendor_codec_t struct in endian neutral way a2dp-codecs: Add needed includes and properly check for endian macros a2dp-codecs: Properly define macros and struct for LDAC codec a2dp-codecs: Add macros and structures for new codecs avinfo: Parse new A2DP codecs android/a2dp.c | 8 +- android/avdtp.c | 6 +- android/hal-audio-aptx.c | 18 +- android/hal-audio-sbc.c | 12 +- profiles/audio/a2dp-codecs.h | 267 ++++++++++++++++++++++++++---- profiles/audio/a2dp.c | 9 +- tools/avinfo.c | 380 ++++++++++++++++++++++++++++++++++++------- 7 files changed, 586 insertions(+), 114 deletions(-) -- 2.11.0