stream.c (xorriso-1.5.2) | : | stream.c (xorriso-1.5.4) | ||
---|---|---|---|---|
skipping to change at line 290 | skipping to change at line 290 | |||
} | } | |||
str->refcount = 1; | str->refcount = 1; | |||
str->data = data; | str->data = data; | |||
str->class = &fsrc_stream_class; | str->class = &fsrc_stream_class; | |||
*stream = str; | *stream = str; | |||
return ISO_SUCCESS; | return ISO_SUCCESS; | |||
} | } | |||
int iso_stream_get_src_zf(IsoStream *stream, int *header_size_div4, | int iso_stream_get_src_zf(IsoStream *stream, uint8_t zisofs_algo[2], | |||
int *block_size_log2, uint32_t *uncompressed_size, | int *header_size_div4, int *block_size_log2, | |||
int flag) | uint64_t *uncompressed_size, int flag) | |||
{ | { | |||
int ret; | int ret; | |||
FSrcStreamData *data; | FSrcStreamData *data; | |||
IsoFileSource *src; | IsoFileSource *src; | |||
/* Intimate friendship with libisofs/fs_image.c */ | /* Intimate friendship with libisofs/fs_image.c */ | |||
int iso_ifs_source_get_zf(IsoFileSource *src, int *header_size_div4, | int iso_ifs_source_get_zf(IsoFileSource *src, uint8_t zisofs_algo[2], | |||
int *block_size_log2, uint32_t *uncompressed_size, int flag); | int *header_size_div4, int *block_size_log2, | |||
uint64_t *uncompressed_size, int flag); | ||||
if (stream->class != &fsrc_stream_class) | if (stream->class != &fsrc_stream_class) | |||
return 0; | return 0; | |||
data = stream->data; | data = stream->data; | |||
src = data->src; | src = data->src; | |||
ret = iso_ifs_source_get_zf(src, zisofs_algo, header_size_div4, | ||||
ret = iso_ifs_source_get_zf(src, header_size_div4, block_size_log2, | block_size_log2, uncompressed_size, 0); | |||
uncompressed_size, 0); | ||||
return ret; | return ret; | |||
} | } | |||
struct cut_out_stream | struct cut_out_stream | |||
{ | { | |||
IsoFileSource *src; | IsoFileSource *src; | |||
/* key for file identification inside filesystem */ | /* key for file identification inside filesystem */ | |||
dev_t dev_id; | dev_t dev_id; | |||
ino_t ino_id; | ino_t ino_id; | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added |