Oh noooooo!!!!
I tried to made the AVI reader faster (It was faster with DB 1.13 too).
The reason for slowness is the READ BYTE function, so I replaced it by READ LONG (It is slow too, but reads 4 Bytes at one time, which makes it four times faster) and I tried to put it into Memblock with WRITE MEMBLOCK DWORD, this saves 1/4 of the time, but then after some frames the code fails.
Why?
I found the reason: DWORD copied into MEMBLOCK must be between 0 and 2147483648 (see in help), but 4 Byte from LONG can represent 0 to 4294967296, was there a reason to do this limitation?. Remember: I use Patch 1, so I did not know if this is fixed in Patch 2, but hopefully this will be Patch 3 will do!
If I replace this with READ WORD/WRITE MEMBLOCK WORD, the code will need twice the time it needs now.
Hope, there is planed to make READ TO MEMBLOCK (filenr,memblock,bytes) function.
READ MEMBLOCK that exist now, needs just to be modified a bit to skip the header.