Sign in to follow this  

Releasing AVI file

This topic is 4686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. In my program I render several 3D shapes and while rendering them each frame is added to an AVI file - that's how I create a little movie. To init. the AVI file I use the function: AVIFileInit(), at the end of the movie I need to release/close the avi file otherwise it won't create it right. My question is: How do I close it right ?? I tried using the AVIFileExit() but it doesn't do the job. Thanks.

Share this post


Link to post
Share on other sites
No, there is a reference count on the number of open handles. The file is opened using AVIFileOpen. So, match all "AVIFileOpen"s with "AVIFileRelease"s and you should be fine.

Share this post


Link to post
Share on other sites

This topic is 4686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this