Sign in to follow this  

intel 's jpeg library

This topic is 3481 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

Quote:
Original post by openglaussie
Hi, i have experienced memory leaks , with the jpeg library from intel, does anyone knows why ?
it leaks the filename pointer.


Is it making a copy of the filename you pass in, or is it you who are forgetting to free the filename once the JPEG routines return?

The JPEG library is probably written so that you can pass string literals as filenames, which should NOT be freed by the library.

Share this post


Link to post
Share on other sites
Depends. What are you using it for?

Jpegs use lossy compression bytheway. There are formats that use lossless compression. Are you sure jpeg is the best format for your needs?

Share this post


Link to post
Share on other sites

This topic is 3481 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