summaryrefslogtreecommitdiff
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-13 08:48:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-17 19:11:57 +0200
commit8c53b14599330f08859082c868d7df559e9385e5 (patch)
tree5c99700de2fb124deddce58b1cdb641afacbbe21 /doc/APIchanges
parent51a80aacce1a7bd20823798dc9e5ec5f23a3b62d (diff)
avutil/opt: Document actual behaviour of av_opt_copy a bit more
In particular, document that av_opt_copy() always disentangles allocated options even on error; this guarantee is needed to e.g. properly free duplicated thread contexts in libavcodec on error. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 28cc0344ad..393ae68fa7 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -14,6 +14,10 @@ libavutil: 2021-04-27
API changes, most recent first:
+2021-08-17 - xxxxxxxxxx - lavu 57.4.101 - opt.h
+ av_opt_copy() now guarantees that allocated src and dst options
+ don't alias each other even on error.
+
2021-08-14 - xxxxxxxxxx - lavu 57.4.100 - imgutils.h
Add av_image_copy_plane_uc_from()