Function ff_get_chomp_line

Source
pub unsafe extern "C" fn ff_get_chomp_line(
    s: *mut AVIOContext,
    buf: *mut c_char,
    maxlen: c_int,
) -> c_int
Expand description

Same as ff_get_line but strip the white-space characters in the text tail

@param s the read-only AVIOContext @param buf buffer to store the read line @param maxlen size of the buffer @return the length of the string written in the buffer