Bug 923472 - Use memset instead of block field assignment to fix a compile error. r=cpearce

This commit is contained in:
Kartikaya Gupta 2013-10-03 17:00:33 -04:00
parent 00d1c66449
commit 00e4b67a26

View File

@ -437,7 +437,7 @@ AppleMP3Reader::SetupDecoder()
AudioStreamBasicDescription inputFormat, outputFormat;
GetProperty(mAudioFileStream, kAudioFileStreamProperty_DataFormat, &inputFormat);
outputFormat = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
memset(&outputFormat, 0, sizeof(outputFormat));
// Set output format
#if defined(MOZ_SAMPLE_TYPE_FLOAT32)