History

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.

Andreas Rheinhardt committed 5 years ago

Commit 8c53b141 parent 51a80aa3 files · +12 −1Browse files

Showing the changes to doc/APIchanges (1 of 3 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -14,6 +14,10 @@ libavutil: 2021-04-27 · 13 unmodified lines
14 14
15API changes, most recent first:15API changes, most recent first:
16 16
172021-08-17 - xxxxxxxxxx - lavu 57.4.101 - opt.h
18 av_opt_copy() now guarantees that allocated src and dst options
19 don't alias each other even on error.
20
172021-08-14 - xxxxxxxxxx - lavu 57.4.100 - imgutils.h212021-08-14 - xxxxxxxxxx - lavu 57.4.100 - imgutils.h
18 Add av_image_copy_plane_uc_from()22 Add av_image_copy_plane_uc_from()
19 23

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t