mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Use the 'thrd_success' constant when checking for tss_create result
This commit is contained in:
parent
437be0af75
commit
67ddfc3053
1 changed files with 1 additions and 1 deletions
|
|
@ -1171,7 +1171,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
goto error_exit_free_poll;
|
||||
}
|
||||
|
||||
if (tss_create(&impl->queue_tss_id, (tss_dtor_t)loop_queue_destroy) != 0) {
|
||||
if (tss_create(&impl->queue_tss_id, (tss_dtor_t)loop_queue_destroy) != thrd_success) {
|
||||
res = -errno;
|
||||
spa_log_error(impl->log, "%p: can't create tss: %m", impl);
|
||||
goto error_exit_free_wakeup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue