diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-10-23 11:11:33 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-26 18:00:55 +0100 |
commit | 9b56d5c11488656254e9aed8d964ef2b7c2ff5e6 (patch) | |
tree | 83fe8dc6bd2410a174d214400dcf1dca290e7f49 /doc/APIchanges | |
parent | d584533cf38141172e20bae5436629ee17c8ce50 (diff) | |
download | ffmpeg-9b56d5c11488656254e9aed8d964ef2b7c2ff5e6.tar.gz |
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.
Diffstat (limited to 'doc/APIchanges')
-rw-r--r-- | doc/APIchanges | 8 |
1 files changed, 5 insertions, 3 deletions
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 |