Function av_init_packet

Source
pub unsafe extern "C" fn av_init_packet(pkt: *mut AVPacket)
Expand description

Initialize optional fields of a packet with default values.

Note, this does not touch the data and size members, which have to be initialized separately.

@param pkt packet