[][src]Function mp4parse_capi::mp4parse_get_track_count

#[no_mangle]pub unsafe extern "C" fn mp4parse_get_track_count(
    parser: *const Mp4parseParser,
    count: *mut u32
) -> Mp4parseStatus

Return the number of tracks parsed by previous mp4parse_read() call.

Safety

This function is unsafe because it dereferences both the parser and count raw pointers passed into it. Callers should ensure the parser pointer points to a valid Mp4parseParser, and that the count pointer points an appropriate memory location to have a u32 written to.