Fix transcoding runtime errors.