MP4DMXClose

Syntax

#include <cafe/mp4dmx.h>

MP4DMXClose(void *handle, void *allocator);

Parameters

handle A pointer that references an object handle (Input).
allocator A pointer to a memory allocator (Input).

Return Values

MP4DMX_RET_SUCCESS Success.
MP4DMX_RET_ERROR_NOT_ENOUGH_MEMORY Failure. This error is returned when the necessary memory could not be allocated.
MP4DMX_RET_ERROR_INVALID_POINTER Failure. This error is returned when an argument is NULL.
MP4DMX_RET_ERROR_FATAL Failure. This error is returned when functions are not called in the correct order.

Description

Closes the library.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

See Also

MP4DMXOpen
MP4DMXBegin
MP4DMXFindHeader
MP4DMXReadHeader
MP4DMXExecute
MP4DMXEnd

Revision History

2014/07/29 Initial version.


CONFIDENTIAL