mangui/flashls — pull request #28 by charlietran (2014-07-24 21:01:30+00:00)
Title: Fix get seq num nearest pts

Simple workaround to fix #23:

* pass `current_seqnum` to `getSeqNumNearestPTS`
* when looping through valid fragments, only return if `fragments[i].seqnum > current_seqnum`

At first glance this seems correct and has fixed the issue we were experiencing, would appreciate your thoughts! cc @caseypugh