diff options
Diffstat (limited to 'lib/io/src/xfrm')
-rw-r--r-- | lib/io/src/xfrm/istream.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/io/src/xfrm/istream.c b/lib/io/src/xfrm/istream.c index 2ada5db..8755cb6 100644 --- a/lib/io/src/xfrm/istream.c +++ b/lib/io/src/xfrm/istream.c @@ -37,11 +37,8 @@ static int xfrm_precache(istream_t *base) const sqfs_u8 *ptr; size_t avail; - ret = istream_precache(xfrm->wrapped); - if (ret != 0) - return ret; - - ret = istream_get_buffered_data(xfrm->wrapped, &ptr, &avail); + ret = istream_get_buffered_data(xfrm->wrapped, &ptr, &avail, + sizeof(xfrm->uncompressed)); if (ret < 0) return ret; if (ret > 0) { |