Simplify the Initialize decoder method

Remove an unused parameter, use the exact struct instead of a void pointer.