diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-08-17 22:27:03 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-08-18 08:27:24 -0300 |
commit | ff094f5ebbdae504f5bcd722351563b5d9777c21 (patch) | |
tree | ba8636692406d852ce7c9b040261c8556a193d43 /libavformat/rsoenc.c | |
parent | 81a48d96e2c343625da54a19ca9ac33691cd6699 (diff) | |
download | ffmpeg-ff094f5ebbdae504f5bcd722351563b5d9777c21.tar.gz |
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++.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rsoenc.c')
0 files changed, 0 insertions, 0 deletions