Permalink
Browse files

Fix crash.

Problem was found using GuardMalloc/XCode
  • Loading branch information...
1 parent a2c32ba commit d86999d60751124c665cf7aba1a00cee1d5222da @jyavenard jyavenard committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audio/audiooutputca.cpp
@@ -892,7 +892,7 @@ AudioStreamBasicDescription *CoreAudioData::FormatsList(AudioStreamID s)
}
// Add a terminating ID:
- list[listSize/sizeof(AudioStreamID)].mFormatID = 0;
+ list[listSize/sizeof(AudioStreamBasicDescription)].mFormatID = 0;
return list;
}

0 comments on commit d86999d

Please sign in to comment.