mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
media-session/pulse-server: more error checks + minor fixes
This commit is contained in:
parent
f330446291
commit
2681b8236b
10 changed files with 79 additions and 54 deletions
|
|
@ -615,7 +615,8 @@ static uint32_t collect_transport_codec_info(struct pw_manager_object *card,
|
|||
|
||||
/* Codec description list */
|
||||
spa_pod_parser_pod(&prs, (struct spa_pod *)labels);
|
||||
spa_pod_parser_push_struct(&prs, &f);
|
||||
if (spa_pod_parser_push_struct(&prs, &f) < 0)
|
||||
continue;
|
||||
|
||||
while (1) {
|
||||
int32_t id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue