Fix gcc4 build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31005 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-06-10 12:51:17 +00:00
parent 16a89fee58
commit 6b9846f69d

View File

@ -302,7 +302,7 @@ WavReader::Sniff(int32 *streamCount)
fMetaData.extra_size = format.extra_size;
if (fMetaData.extra_size > 0) {
fMetaData.extra_data = format.extra_data;
memcpy(fMetaData.extra_data, format.extra_data, format.extra_size);
}
fMetaData.channels = UINT16(format.channels);
fMetaData.samples_per_sec = UINT32(format.samples_per_sec);