MP4DMXEnd

Syntax

#include <cafe/mp4dmx.h>

MP4DMXEnd(void *handle);

Parameters

handle A pointer that references an object handle (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

Stops demultiplexing.

The data accumulated within the library is output through the callback function. The MP4DMXMpoUNIT structure's process_flag is 1 for the data output.

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
MP4DMXClose

Revision History

2014/07/29 Initial version.


CONFIDENTIAL