Function ff_packet_list_put

Source
pub unsafe extern "C" fn ff_packet_list_put(
    head: *mut *mut AVPacketList,
    tail: *mut *mut AVPacketList,
    pkt: *mut AVPacket,
    flags: c_int,
) -> c_int
Expand description

Append an AVPacket to the list.

@param head List head element @param tail List tail element @param pkt The packet being appended @param flags Any combination of FF_PACKETLIST_FLAG_* flags @return 0 on success, negative AVERROR value on failure. On failure, the list is unchanged