Commit 2ee3f8b4 authored by François Grisez's avatar François Grisez

Fix build regression caused by 2ad8478d

parent 2ad8478d
......@@ -134,7 +134,7 @@ VideoToolboxUtilities *VideoToolboxUtilities::create(const std::string &mime) {
}
void VideoToolboxUtilities::loadCodecAvailability() {
array<CMVideoCodecType,2> codecTypes = { kCMVideoCodecType_H264, kCMVideoCodecType_HEVC };
array<CMVideoCodecType,2> codecTypes = {{ kCMVideoCodecType_H264, kCMVideoCodecType_HEVC }};
CFArrayRef encoderLists = nullptr;
VTCopyVideoEncoderList(nullptr, &encoderLists);
for (auto codecType : codecTypes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment