audioconvert: fix tmp_datas[1] when scratch ports grow

This commit is contained in:
zuozhiwei 2026-04-20 10:24:42 +08:00 committed by Wim Taymans
parent cf8a0b012f
commit e01ff7e67e

View file

@ -1284,7 +1284,7 @@ static int ensure_tmp(struct impl *this)
return -ENOMEM; return -ENOMEM;
} }
this->tmp_datas[0][i] = SPA_PTR_ALIGN(this->tmp[0][i], MAX_ALIGN, void); this->tmp_datas[0][i] = SPA_PTR_ALIGN(this->tmp[0][i], MAX_ALIGN, void);
this->tmp_datas[0][i] = SPA_PTR_ALIGN(this->tmp[0][i], MAX_ALIGN, void); this->tmp_datas[1][i] = SPA_PTR_ALIGN(this->tmp[1][i], MAX_ALIGN, void);
} }
this->scratch_ports = maxports; this->scratch_ports = maxports;
} }