diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 3d31e9ac7..9c93a56b9 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -1040,6 +1040,9 @@ static void follower_convert_port_info(void *data, uint32_t i; int res; + if (info == NULL) + return; + spa_log_debug(this->log, "%p: convert port info %s %p %08"PRIx64, this, this->direction == SPA_DIRECTION_INPUT ? "Input" : "Output", info, info->change_mask); @@ -1217,6 +1220,9 @@ static void follower_port_info(void *data, uint32_t i; int res; + if (info == NULL) + return; + if (this->follower_removing) { spa_node_emit_port_info(&this->hooks, direction, port_id, NULL); return;