Function rsmpeg::ffi::av_log_set_callback [−][src]
pub unsafe extern "C" fn av_log_set_callback(
callback: Option<unsafe extern "C" fn(*mut c_void, i32, *const i8, *mut __va_list_tag)>
)
Expand description
Set the logging callback
@note The callback must be thread safe, even if the application does not use threads itself as some codecs are multithreaded.
@see av_log_default_callback
@param callback A logging function with a compatible signature.