[AML codec] use codec id if unknow codec tag

Some files can not check codec_type from codec_tag so use codec_id