-added a sliding window packet queue of 50 packets, sorted in ascending order according to the presentation time stamp.
This ensures that audio/video packets that should be together do not get stuck into separate segments
-compile with "-std=c99"
git-svn-id: https://httpsegmenter.googlecode.com/svn/trunk@8 50c576d4-0ac1-1411-950c-f994e1bbdc23