AVFrame.pkt_size

size of the corresponding packet containing the compressed frame. It is set to a negative value if unknown. - encoding: unused - decoding: set by libavcodec, read by user.

struct AVFrame
int pkt_size;

Meta