Further add a codecType check
Merge pull request #6387 from sum2012/Atrac-minor

Further add a codecType check