I'd like to share some initial support patches to allow stream unpack for LZMA SDK.
They are located here - https://github.com/MageSlayer/7zIncremental
Please use 7zIncremental project to test.
Unfortunately not all files are unpacked successfully, e.g.
http://www1.datafilehost.com/d/b5f0f490 exits with an error inside unpack engine.
I believe there is some error in LZMA present now.
P.S. Patches are based on v9.22b
Do you have any error with original LZMA SDK code?
No, the original version unpacks the file in memory just fine.
Could you take a look at patches? They are pretty small.
I've used LzmaDec_DecodeToBuf function which seems to be up to the case.
Unfortunately I found no other references to it in the existing codebase, so maybe some bugs are still there?
I will not use that patch in 7-Zip.
So I don't want to debug it.