Skip to content

Commit

Permalink
Fix crash.
Browse files Browse the repository at this point in the history
Problem was found using GuardMalloc/XCode
  • Loading branch information
jyavenard committed Apr 20, 2012
1 parent a2c32ba commit d86999d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/audio/audiooutputca.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit d86999d

Please sign in to comment.