add asm state checking code before changing asm state in _mmplayer_unrealize() to...