pub unsafe extern "C" fn MP4D_open(
mp4: *mut MP4D_demux_t,
read_callback: Option<unsafe extern "C" fn(offset: i64, buffer: *mut c_void, size: usize, token: *mut c_void) -> c_int>,
token: *mut c_void,
file_size: i64,
) -> c_intExpand description
Parse given input stream as MP4 file. Allocate and store data indexes. return 1 on success, 0 on failure The MP4 indexes may be stored at the end of stream, so this function may parse all stream. It is guaranteed that function will read/seek sequentially, and will never jump back.