Important bugfix: flv files qith offset, there was a read() funtion instead
of read(number) into a loop. This causes a memory leak.