mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: fix crash with broadcast sinks
This commit is contained in:
parent
440b9fa36f
commit
f89d42b8bc
1 changed files with 1 additions and 1 deletions
|
|
@ -5504,7 +5504,7 @@ static void interface_added(struct spa_bt_monitor *monitor,
|
||||||
spa_autofree char *local_endpoint = NULL;
|
spa_autofree char *local_endpoint = NULL;
|
||||||
/* get local endpoint */
|
/* get local endpoint */
|
||||||
|
|
||||||
for (i = 0; monitor->media_codecs; i++) {
|
for (i = 0; monitor->media_codecs[i]; i++) {
|
||||||
if (!monitor->media_codecs[i]->bap)
|
if (!monitor->media_codecs[i]->bap)
|
||||||
continue;
|
continue;
|
||||||
if (!is_media_codec_enabled(monitor, monitor->media_codecs[i]))
|
if (!is_media_codec_enabled(monitor, monitor->media_codecs[i]))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue