allow passing arguments to codec's cbcreate()