viddec: support for multiple decoder instances