diff options
Diffstat (limited to 'spa/plugins/audioconvert/audioadapter.c')
-rw-r--r-- | spa/plugins/audioconvert/audioadapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 7528b0f6..b9a383cc 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -887,7 +887,7 @@ impl_init(const struct spa_handle_factory *factory, if (info == NULL || (str = spa_dict_lookup(info, "audio.adapt.slave")) == NULL) return -EINVAL; - sscanf(str, "%p", &this->slave); + sscanf(str, "pointer:%p", &this->slave); if (this->slave == NULL) return -EINVAL; |