Fixed uninitialized value.

This commit is contained in:
Armin Novak 2016-10-04 17:07:49 +02:00 committed by Armin Novak
parent 9a1c60885c
commit 376dc216e6

View File

@ -174,7 +174,7 @@ static void mac_audio_queue_input_cb(void *aqData,
{ {
AudinMacDevice* mac = (AudinMacDevice*)aqData; AudinMacDevice* mac = (AudinMacDevice*)aqData;
UINT error; UINT error;
int encoded_size; int encoded_size = 0;
const BYTE *encoded_data; const BYTE *encoded_data;
BYTE *buffer = inBuffer->mAudioData; BYTE *buffer = inBuffer->mAudioData;
int buffer_size = inBuffer->mAudioDataByteSize; int buffer_size = inBuffer->mAudioDataByteSize;