diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-14 16:05:42 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-14 16:05:42 +0200 |
commit | 24875f34d0e0b21bc6ebd3ec2e184463d28d1522 (patch) | |
tree | 821cf46dd7aabd6af830462a36fac0e3ed062c5c /src/core/CdStreamPosix.cpp | |
parent | fixed hanging boot (diff) | |
parent | fixed hanging boot (diff) | |
download | re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar.gz re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar.bz2 re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar.lz re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar.xz re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.tar.zst re3-24875f34d0e0b21bc6ebd3ec2e184463d28d1522.zip |
Diffstat (limited to 'src/core/CdStreamPosix.cpp')
-rw-r--r-- | src/core/CdStreamPosix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp index 7c49f5f1..4d6bcdab 100644 --- a/src/core/CdStreamPosix.cpp +++ b/src/core/CdStreamPosix.cpp @@ -168,7 +168,7 @@ CdStreamInit(int32 numChannels) gNumChannels = numChannels; - gpReadInfo = (CdReadInfo *)calloc(sizeof(CdReadInfo), numChannels); + gpReadInfo = (CdReadInfo *)calloc(numChannels, sizeof(CdReadInfo)); ASSERT( gpReadInfo != nil ); CDDEBUG("read info %p", gpReadInfo); |