added OK for invalid codec