mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 923472 - Use memset instead of block field assignment to fix a compile error. r=cpearce
This commit is contained in:
parent
00d1c66449
commit
00e4b67a26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user