aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-06-05 11:17:49 +0200
committerAnton Khirnov <anton@khirnov.net>2020-09-28 11:33:35 +0200
commit68918d3b7fda9e75d436a27705c54b77dcb41ba9 (patch)
tree66fea07125274cf4107ebc07b9dacfeb517f2359 /doc
parent5bbf58ab876279ca1a5a2f30563f271c99b93e62 (diff)
downloadffmpeg-68918d3b7fda9e75d436a27705c54b77dcb41ba9.tar.gz
lavu/buffer: add a convenience function for replacing buffers
A common pattern e.g. in libavcodec is replacing/updating buffer references: unref old one, ref new one. This function allows simplifying such code and avoiding unnecessary refs+unrefs if the references are already equivalent.
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index e2d7369c83..f2830968bb 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil: 2017-10-21
API changes, most recent first:
+2020-xx-xx - xxxxxxxxxx - lavu 56.60.100 - buffer.h
+ Add a av_buffer_replace() convenience function.
+
2020-09-xx - xxxxxxxxxx - lavu 56.59.100 - timecode.h
Add av_timecode_make_smpte_tc_string2.