fix deadloop when mFramesPerPacket of audio's format is 0