Release decode resources
#include <img/img.h> int img_decode_finish( img_codec_t codec, io_stream_t *input, uintptr_t *decode_data );
Use the -l img option to qcc to link against this library.
This function finalizes the decode process and releases resources allocated during a decoding session. You should call this function after you have finished decoding a series of frames, to release any resources that the decoder may have allocated in association with those frames.
- The codec doesn't provide an implementation for this function.
- Any other code that a decoder's begin() function may pass back to flag an error (see img_errno.h for a list of defined errors).
Last modified: 2013-09-30