int ok = FinishAnimStream(APTR stream);
This function has to return True if the stream has been successfully finished or False in case of an error.
True
False