Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged revision(s) 20322 from trunk/OpenMPT:
[Fix] DMF: Avoid pretending that we want to read 4GB worth of data. This can cause a crash when libopenmpt is used with unseekable streams, in particular in 32-bit builds. Directly request FileReader::BytesLeft() bytes to be read, which we normally avoid because it causes the whole file to be pre-cached - which is what we end up doing here anyway (https://www.un4seen.com/forum/?topic=15448.msg142533#msg142533). ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@20323 56274372-70c3-4bfc-bfc3-4c3a0b034d27
- Loading branch information