1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
tdzl2003 2016-11-08 12:58:18 +08:00
parent c6bde27a40
commit 61d9034ec5

View File

@ -34,6 +34,10 @@ static int bz2_read(const struct bspatch_stream* stream, void* buffer, int lengt
int bz2err;
bz_stream* zip;
if (length == 0) {
return 0;
}
zip = (bz_stream*)stream->opaque;
zip->next_out = (char*)buffer;
zip->avail_out = length;