modify SPS, PPS buffer management and remove a build warning
Merge pull request #368 from huili2/sps_buffer_modif

modify SPS, PPS buffer management and remove a build warning