-- fixed the bug reported by Liu Han
-- ported some other minor stuff from EvoStream


git-svn-id: https://svn.rtmpd.com/crtmpserver/trunk@809 01689507-d990-df11-9d7d-0017a411d416