Close an animation decoder, finishing any decoding.
Defined in <SDL3_image/SDL_image.h>
bool IMG_CloseAnimationDecoder(IMG_AnimationDecoder *decoder);
IMG_AnimationDecoder * | decoder | the decoder to close. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
Calling this function frees the animation decoder, and returns the final status of the decoding process.
This function is available since SDL_image 3.4.0.