summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-10-23 11:11:33 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-10-26 18:00:55 +0100
commit9b56d5c11488656254e9aed8d964ef2b7c2ff5e6 (patch)
tree83fe8dc6bd2410a174d214400dcf1dca290e7f49 /doc
parentd584533cf38141172e20bae5436629ee17c8ce50 (diff)
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')
-rw-r--r--doc/APIchanges8
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