Changed to previous codec data configuration logic