Commit: 33fdb06e7de57eefcf4a038e596693a235884dcb
Parent: d6fe19bccba048a68def9410dff6eb4aa82c6848
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-05-13 16:56:36
Tree: d67f8c826881df1719f2ee9205a02a07206372a6

shared/bap: Fix uninitialized field at BASE generation Currently in bt_bap_stream_get_base, the pres_delay inside the base variable is left uninitialized and it is later accessed in set_base_subgroup, to be compared to each stream presentation delay. This commit adds a fix by initializing the pres_delay field to the current stream presentation delay, before later updating it based on comparison.

Diffstat

M src/shared/bap.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

View Full Diff | Patch