Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis (#8709)

This commit is contained in:
Bond-009 2022-12-05 13:54:28 +01:00 committed by GitHub
parent bf3ff15843
commit 210a4921f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 29 additions and 31 deletions

View file

@ -75,7 +75,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
private bool _isVaapiDeviceInteli965 = false;
private bool _isVaapiDeviceSupportVulkanFmtModifier = false;
private static string[] _vulkanFmtModifierExts = {
private static string[] _vulkanFmtModifierExts =
{
"VK_KHR_sampler_ycbcr_conversion",
"VK_EXT_image_drm_format_modifier",
"VK_KHR_external_memory_fd",