Files
termux-packages/packages/megacmd/sdk-include-megaapi_impl.h.patch
2023-01-12 04:01:11 +00:00

15 lines
485 B
Diff

https://github.com/termux/termux-packages/issues/14467
https://github.com/meganz/MEGAcmd/issues/507
--- a/sdk/include/megaapi_impl.h
+++ b/sdk/include/megaapi_impl.h
@@ -3296,7 +3296,7 @@
void setMaxBufferSize(unsigned int bufferSize);
void setMaxOutputSize(unsigned int outputSize);
- static const unsigned int MAX_BUFFER_SIZE = 2097152;
+ static const unsigned int MAX_BUFFER_SIZE = (1 << 25);
static const unsigned int MAX_OUTPUT_SIZE = 16384;
protected: