set bAuReadyFlag to true when we meet a PPS
use temp buffer to store new arrived PPS/SPS
Merge pull request #440 from licaiguo/refine-pps-sps

Refine pps sps
Merge remote-tracking branch 'upstream/master' into travis.osx