Function mp4parse::capi::mp4parse_read [] [src]

pub unsafe extern fn mp4parse_read(context: *mut MediaContext, buffer: *const u8, size: usize) -> i32

Feed a buffer through read_box() with the given rust-side parser context, returning the number of detected tracks.

This is safe to call with NULL arguments but will crash if given invalid pointers, as is usual for C.