av_packet_clone

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

@nogc nothrow extern (C)
av_packet_clone

Meta