if (filedes_seek(out_fd, begin_offset) == -1)
return 0;
- ret = extract_stream_to_fd(lte, out_fd, lte->size);
+ ret = extract_full_stream_to_fd(lte, out_fd);
if (ret) {
/* Error reading the uncompressed data. */
if (out_fd->offset == begin_offset &&
memcpy(&ctx->chunk_buf[ctx->chunk_buf_filled],
chunkptr, bytes_consumed);
- resized_chunk = ctx->chunk_buf;
-
chunkptr += bytes_consumed;
ctx->cur_read_res_offset += bytes_consumed;
ctx->chunk_buf_filled += bytes_consumed;