跳到主要内容

avformat_receive_command_reply

搜索

函数 avformat_receive_command_reply 

源代码
pub unsafe extern "C" fn avformat_receive_command_reply(
    s: *mut AVFormatContext,
    id: AVFormatCommandID,
    data_out: *mut *mut c_void,
) -> c_int
展开描述

Receive a command reply from the demuxer

Retrieves a reply for a previously sent command from the muxer.

@param s Format context, must be allocated with ::avformat_alloc_context. @param id Identifier of type ::AVFormatCommandID, indicating the command for which to retrieve the reply. @param data_out Pointee is set to the command reply, the actual type depends on the command. This is allocated by the muxer and must be freed with ::av_free. For details on the actual data set here, consult the documentation of the respective ::AVFormatCommandID.