diff options
author | James Almer <jamrial@gmail.com> | 2017-09-23 15:59:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-25 21:22:06 -0300 |
commit | ecb9741ba294d7617ca85aaec0226ee9be7f518d (patch) | |
tree | 4df8810b26dee566b197d4a4cea70bff5c673619 /libavcodec/avcodec.h | |
parent | d491d6a0cd01d9a1ab2061c6c8a977b1aa578d70 (diff) | |
download | ffmpeg-ecb9741ba294d7617ca85aaec0226ee9be7f518d.tar.gz |
avcodec/avpacket: deprecate av_copy_packet()
It does the same thing as av_packet_ref().
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5c84974e03..07d9f3e255 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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); /** |