mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-12 18:56:13 +00:00
Use array initializers compatible with MSVC
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user