fix crash

This commit is contained in:
Glenn Maynard
2004-06-07 01:59:06 +00:00
parent 25319403a1
commit b5e625db3d
+1 -1
View File
@@ -35,7 +35,7 @@ OSStatus AudioConverter::FormatConverterInputProc(UInt32& ioNumberDataPackets,
if( mBufferSize < buf.mDataByteSize )
{
delete [] mBuffer;
mBuffer = new UInt8[mBufferSize];
mBuffer = new UInt8[buf.mDataByteSize];
mBufferSize = buf.mDataByteSize;
}
buf.mData = mBuffer;