From 7ef51671f1a221443bcd000ccb13189ee6ccf749 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Thu, 8 Feb 2024 12:50:12 -0800 Subject: [PATCH] fix: Fix uninitialized value found by Valgrind (#1336) --- include/packager/crypto_params.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/packager/crypto_params.h b/include/packager/crypto_params.h index 845d91cf42..1d87f817c1 100644 --- a/include/packager/crypto_params.h +++ b/include/packager/crypto_params.h @@ -153,7 +153,7 @@ struct EncryptionParams { RawKeyParams raw_key; /// The protection systems to generate, multiple can be OR'd together. - ProtectionSystem protection_systems; + ProtectionSystem protection_systems = ProtectionSystem::kNone; /// Extra XML data to add to PlayReady data. std::string playready_extra_header_data;