Function ff_packet_list_get

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

Remove the oldest AVPacket in the list and return it.

@note The pkt will be overwritten completely. The caller owns the packet and must unref it by itself.

@param head List head element @param tail List tail element @param pkt Pointer to an initialized AVPacket struct