The R Project SVN R

Rev

Rev 49813 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49813 Rev 53508
Line 26... Line 26...
26
	lzma_options_bcj *opt = lzma_alloc(
26
	lzma_options_bcj *opt = lzma_alloc(
27
			sizeof(lzma_options_bcj), allocator);
27
			sizeof(lzma_options_bcj), allocator);
28
	if (opt == NULL)
28
	if (opt == NULL)
29
		return LZMA_MEM_ERROR;
29
		return LZMA_MEM_ERROR;
30
 
30
 
31
	opt->start_offset = integer_read_32(props);
31
	opt->start_offset = unaligned_read32le(props);
32
 
32
 
33
	// Don't leave an options structure allocated if start_offset is zero.
33
	// Don't leave an options structure allocated if start_offset is zero.
34
	if (opt->start_offset == 0)
34
	if (opt->start_offset == 0)
35
		lzma_free(opt, allocator);
35
		lzma_free(opt, allocator);
36
	else
36
	else