跳到主要内容

av_packet_copy_props

搜索

函数 av_packet_copy_props 

源代码
pub unsafe extern "C" fn av_packet_copy_props(
    dst: *mut AVPacket,
    src: *const AVPacket,
) -> c_int
展开描述

Copy only “properties” fields from src to dst.

Properties for the purpose of this function are all the fields beside those related to the packet data (buf, data, size)

@param dst Destination packet @param src Source packet

@return 0 on success AVERROR on failure.