bool
CreateAvi(HWND hwnd, char* FileName,int xsize,int ysize,int fps,int freq,int bits,int channels)
Create, and open the avi file. The output file will
be in 32 bits color in all cases. And the source buffer is the
GR_BUFFER_RENDERTARGET (see at the savetga()). The input and
output sound format needs be same.