Bug fix related to codec arg.