[][src]Function minimp4_sys::MP4D_read_sps

pub unsafe extern "C" fn MP4D_read_sps(
    mp4: *const MP4D_demux_t,
    ntrack: c_uint,
    nsps: c_int,
    sps_bytes: *mut c_int
) -> *const c_void

Helper functions to parse mp4.track[ntrack].dsi for H.264 SPS/PPS Return pointer to internal mp4 memory, it must not be free()-ed

Example: process all SPS in MP4 file: while (sps = MP4D_read_sps(mp4, num_of_avc_track, sps_count, &sps_bytes)) { process(sps, sps_bytes); sps_count++; }