codec: subsdec: fix variable shadowing