Function rsmpeg::ffi::avio_close_dyn_buf[][src]

pub unsafe extern "C" fn avio_close_dyn_buf(
    s: *mut AVIOContext,
    pbuffer: *mut *mut u8
) -> i32
Expand description

Return the written size and a pointer to the buffer. The buffer must be freed with av_free(). Padding of AV_INPUT_BUFFER_PADDING_SIZE is added to the buffer.

@param s IO context @param pbuffer pointer to a byte buffer @return the length of the byte buffer