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

extern (C) @nogc nothrow
av_packet_clone
(
const(AVPacket)* src
)

Meta