public IntPtr Cut(int start, int length)
{
IntPtr copyPointer = IntPtr.Zero;
int result = Avi.EditStreamCut(editableStream, ref start, ref length, ref copyPointer);
if (result != 0) {
throw new Exception("Exception in Cut: " + result.ToString());
}
countFrames -= length;
return copyPointer;
}