Commit: eb5c7518d0d3d1b204139b35245f4dd43474ba78
Parent: 9822898fd5f59a255b7a957303914bc557f9cf44
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-01-15 00:05:48
Tree: 9795c33d3c5ab18d0eba551dceffb0714b7d3487

avrcp: Fix unaligned access This fixes the access to struct media_attribute_header which needs to be packed and it also replaces the use of ntohs/ntohl to byteorder conversion helpers which are a lot more clear on what byteorder shall be used.

Diffstat

M profiles/audio/avrcp.c | 229 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 111 insertions(+), 118 deletions(-)

View Full Diff | Patch