Create a new packet that references the same data as src.
This is a shortcut for av_packet_alloc()+av_packet_ref().
@return newly created AVPacket on success, NULL on error.
@see av_packet_alloc @see av_packet_ref
See Implementation
Create a new packet that references the same data as src.
This is a shortcut for av_packet_alloc()+av_packet_ref().
@return newly created AVPacket on success, NULL on error.
@see av_packet_alloc @see av_packet_ref