~pcsx2-team/pcsx2-github-mirror/+git/lz4:fix1374

Last commit made on 2024-03-22
Get this branch:
git clone -b fix1374 https://git.launchpad.net/~pcsx2-team/pcsx2-github-mirror/+git/lz4

Branch merges

Branch information

Recent commits

fab3068... by Yann Collet <email address hidden>

add test for bug #1374

e50a894... by Yann Collet <email address hidden>

fix #1374

The output buffer size was sized using the function `LZ4F_compressFrameBound(, NULL)`,
with the mention "cover worst scenario".
That's incorrect : using `, NULL` covers the _default_ scenario,
and there are ways to make the situation worse
by using advanced command line options, starting with `-B4`.
In some limit scenarios, it leads to situations where the output buffer is not large enough.

Switched to determining the main ingredients of LZ4F_preferences_t during initialization
and using actual compression parameters to determine the output buffer size
thus avoiding corner cases where it's under-sized.

a3be311... by Yann Collet <email address hidden>

Merge pull request #1376 from lz4/async_dec

Introduce Async I/O for decompression

6b88d0a... by Yann Collet

fix to please C++ compiler

though I wonder what's the point for units of the CLI program...

3233600... by Yann Collet

minor: keep old single-thread code

use compilation variable LZ4IO_MULTITHREAD to switch between the 2

7a1b705... by Yann Collet

fix variable LZ4IO_MULTITHREAD

43ae8c8... by Yann Collet

first implementation of async io for decoder

e0410ac... by Yann Collet

reorganize mt code

20c2f3c... by Yann Collet <email address hidden>

Merge pull request #1375 from deining/fix-typo

Fix typo

56e80ab... by Andreas Deininger

Fix typo