C++ doesn't support designated initializers until C++20. We have a bunch of pre-defined channel layouts, the gains to make them usable in C++ exceed the losses. Bump minor version so C++ project can check before use these defines. Also initialize .opaque field explicitly to reduce warning in C++.
Showing the changes to doc/APIchanges (1 of 3 files). Show all
Unified · Split
| @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line | ||
| 2 | 2 | |
| 3 | 3 | API changes, most recent first: |
| 4 | 4 | |
| 5 | +2023-08-18 - xxxxxxxxxx - lavu 58.17.100 - channel_layout.h | |
| 6 | + All AV_CHANNEL_LAYOUT_* macros are now compatible with C++ 17 and older. | |
| 7 | + | |
| 5 | 8 | 2023-08-08 - xxxxxxxxxx - lavc 60.23.100 - libx264.c |
| 6 | 9 | Add mb_info option. |
| 7 | 10 | |