mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-25 18:02:10 +08:00
avcodec/avpacket: deprecate av_copy_packet()
It does the same thing as av_packet_ref(). Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -4614,7 +4614,10 @@ int av_dup_packet(AVPacket *pkt);
|
||||
* Copy packet, including contents
|
||||
*
|
||||
* @return 0 on success, negative AVERROR on fail
|
||||
*
|
||||
* @deprecated Use av_packet_ref
|
||||
*/
|
||||
attribute_deprecated
|
||||
int av_copy_packet(AVPacket *dst, const AVPacket *src);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user