denivip/osmf-hls-plugin — pull request #58 by danii-nebot (2013-11-15 15:41:36+00:00)
Title: Fix bug where syncFound was flagged as false incorrectly

This was causing byte-level sync issues with throttled (and potentially other) streams, whereas a previous version of the HLS plugin (pre AES-128 decryption support) was working fine. After diving into the code, it seems the flag _syncFound should **not** be set to false in case we run into a *break* statement because there are no more bytes to read.