fix avplayer crash bug