Use array initializers compatible with MSVC

This commit is contained in:
Cameron Gutman committed 2021-04-22 00:32:41 -05:00
1 parent db81f1e512
commit d7549cd953
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ static void decodeInputData(PQUEUED_AUDIO_PACKET packet) {
if (AudioEncryptionEnabled) {
// We must have room for the AES padding which may be written to the buffer
unsigned char decryptedOpusData[MAX_PACKET_SIZE+16];
unsigned char iv[16] = {};
unsigned char iv[16] = { 0 };
int dataLength = packet->size - sizeof(*rtp);
LC_ASSERT(dataLength <= MAX_PACKET_SIZE);