Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31005 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
16a89fee58
commit
6b9846f69d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user