Function av_dirac_parse_sequence_header

pub unsafe extern "C" fn av_dirac_parse_sequence_header(
    dsh: *mut *mut AVDiracSeqHeader,
    buf: *const u8,
    buf_size: usize,
    log_ctx: *mut c_void,
) -> i32
Expand description

Parse a Dirac sequence header.

@param dsh this function will allocate and fill an AVDiracSeqHeader struct and write it into this pointer. The caller must free it with av_free(). @param buf the data buffer @param buf_size the size of the data buffer in bytes @param log_ctx if non-NULL, this function will log errors here @return 0 on success, a negative AVERROR code on failure