From a9dc3c1799d6d60de41cafa5f63003f25fe3f599 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Thu, 8 Feb 2024 11:32:56 -0800 Subject: [PATCH] fix: Fix uninitialized value found by Valgrind --- 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 845d91cf42f..1d87f817c1d 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;