History

avutil/channel_layout: make pre-defined channel layouts C++ friendly

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++.

Zhao Zhili committed 3 years ago

Commit ff094f51 parent 81a48d93 files · +19 −4Browse files

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

Unified · Split

doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52023-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
52023-08-08 - xxxxxxxxxx - lavc 60.23.100 - libx264.c82023-08-08 - xxxxxxxxxx - lavc 60.23.100 - libx264.c
6 Add mb_info option.9 Add mb_info option.
7 10

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