Skip to main content

IMG_CloseAnimationDecoder

Function IMG_CloseAnimationDecoder 

Source
pub unsafe extern "C" fn IMG_CloseAnimationDecoder(
    decoder: *mut IMG_AnimationDecoder,
) -> bool
Expand description

Close an animation decoder, finishing any decoding.

Calling this function frees the animation decoder, and returns the final status of the decoding process.

Parameter: decoder the decoder to close.

Returns: true on success or false on failure; call SDL_GetError() for more information.

Available Since: This function is available since SDL_image 3.4.0.

See Also: IMG_CreateAnimationDecoder

See Also: IMG_CreateAnimationDecoder_IO

See Also: IMG_CreateAnimationDecoderWithProperties