mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-26 09:14:51 +08:00
Add av_copy_packet()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
d33908a5fc
commit
cc07a7925e
@@ -3668,6 +3668,13 @@ int av_grow_packet(AVPacket *pkt, int grow_by);
|
||||
*/
|
||||
int av_dup_packet(AVPacket *pkt);
|
||||
|
||||
/**
|
||||
* Copy packet, including contents
|
||||
*
|
||||
* @return 0 on success, negative AVERROR on fail
|
||||
*/
|
||||
int av_copy_packet(AVPacket *dst, AVPacket *src);
|
||||
|
||||
/**
|
||||
* Free a packet.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user