Added some code for .AVI file record (record MainAVIHeader, StreamHeader)