module-avb: es_builder: fix invalid return check

This commit is contained in:
hackerman-kl 2025-11-28 10:45:17 +01:00 committed by Wim Taymans
parent f30a0c1864
commit 831357ee88

View file

@ -79,7 +79,7 @@ static void *es_buidler_desc_stream_general_prepare(struct server *server,
return NULL; return NULL;
} }
if (server_create_stream(server, stream, direction, index)) { if (!server_create_stream(server, stream, direction, index)) {
pw_log_error("Could not create/initialize a stream"); pw_log_error("Could not create/initialize a stream");
return NULL; return NULL;
} }