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
@see av_packet_alloc @see av_packet_unref
@deprecated This function is deprecated. Once it's removed, sizeof(AVPacket) will not be a part of the ABI anymore.
See Implementation
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
@see av_packet_alloc @see av_packet_unref
@deprecated This function is deprecated. Once it's removed, sizeof(AVPacket) will not be a part of the ABI anymore.