pub unsafe extern "C" fn ffio_rewind_with_probe_data(
s: *mut AVIOContext,
buf: *mut *mut c_uchar,
buf_size: c_int,
) -> c_intExpand description
Rewind the AVIOContext using the specified buffer containing the first buf_size bytes of the file. Used after probing to avoid seeking. Joins buf and s->buffer, taking any overlap into consideration. @note s->buffer must overlap with buf or they can’t be joined and the function fails
@param s The read-only AVIOContext to rewind @param buf The probe buffer containing the first buf_size bytes of the file @param buf_size The size of buf @return >= 0 in case of success, a negative value corresponding to an AVERROR code in case of failure