Function ffio_open_dyn_packet_buf

Source
pub unsafe extern "C" fn ffio_open_dyn_packet_buf(
    s: *mut *mut AVIOContext,
    max_packet_size: c_int,
) -> c_int
Expand description

Open a write only packetized memory stream with a maximum packet size of ‘max_packet_size’. The stream is stored in a memory buffer with a big-endian 4 byte header giving the packet size in bytes.

@param s new IO context @param max_packet_size maximum packet size (must be > 0) @return zero if no error.