Fixed reading FLV files taking 100% CPU.