Function mp4parse_capi::mp4parse_is_fragmented [−][src]
#[no_mangle]
pub unsafe extern "C" fn mp4parse_is_fragmented(
parser: *mut Mp4parseParser,
track_id: u32,
fragmented: *mut u8
) -> Mp4parseStatus
Expand description
Determine if an mp4 file is fragmented. A fragmented file needs mvex table and contains no data in stts, stsc, and stco boxes.
Safety
This function is unsafe because it dereferences the the parser and
fragmented raw pointers passed to it. Callers should ensure the parser
pointer points to a valid Mp4parseParser
and that the fragmented pointer
points to an appropriate memory location to have a u8
written to.