From 9b56d5c11488656254e9aed8d964ef2b7c2ff5e6 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 23 Oct 2015 11:11:33 +0200 Subject: avpacket: Deprecate av_dup_packet As documented, `av_dup_packet` is broken by design, `av_packet_ref` matches the AVFrame ref-counted API and can be safely used instead. --- doc/APIchanges | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/APIchanges') diff --git a/doc/APIchanges b/doc/APIchanges index 590f192a46..0c5d141101 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,9 +13,11 @@ libavutil: 2015-08-28 API changes, most recent first: -2015-xx-xx - xxxxxxx - lavc 57.7.0 - avcodec.h - Deprecate av_free_packet(). Use av_packet_unref() as replacement, - it resets the packet in a more consistent way. +2015-xx-xx - lavc 57.7.0 - avcodec.h + xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement, + it resets the packet in a more consistent way. + xxxxxx - Deprecate av_dup_packet(), it is a no-op for most cases. + Use av_packet_ref() to make a non-refcounted AVPacket refcounted. 2015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h Add data and linesize array to AVSubtitleRect, to be used instead of -- cgit v1.2.3