pub unsafe extern "C" fn av_bprint_finalize(
    buf: *mut AVBPrint,
    ret_str: *mut *mut c_char
) -> c_int
Expand description

Finalize a print buffer.

The print buffer can no longer be used afterwards, but the len and size fields are still valid.

@arg[out] ret_str if not NULL, used to return a permanent copy of the buffer contents, or NULL if memory allocation fails; if NULL, the buffer is discarded and freed @return 0 for success or error code (probably AVERROR(ENOMEM))