/// <summary>Release all ressources</summary>
        public void Close()
        {
            foreach (AviStream stream in streams)
            {
                stream.Close();
            }

            Avi.AVIFileRelease(aviFile);
            Avi.AVIFileExit();
        }
 /// <summary>Close the stream</summary>
 public override void Close()
 {
     base.Close();
     Avi.AVIFileExit();
 }