The R Project SVN R

Rev

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

Rev 51153 Rev 53508
Line 45... Line 45...
45
			return LZMA_BUF_ERROR;
45
			return LZMA_BUF_ERROR;
46
	}
46
	}
47
 
47
 
48
	do {
48
	do {
49
		// Read the next byte. Use a temporary variable so that we
49
		// Read the next byte. Use a temporary variable so that we
50
		// can update *in_pos immediatelly.
50
		// can update *in_pos immediately.
51
		const uint8_t byte = in[*in_pos];
51
		const uint8_t byte = in[*in_pos];
52
		++*in_pos;
52
		++*in_pos;
53
 
53
 
54
		// Add the newly read byte to *vli.
54
		// Add the newly read byte to *vli.
55
		*vli += (lzma_vli)(byte & 0x7F) << (*vli_pos * 7);
55
		*vli += (lzma_vli)(byte & 0x7F) << (*vli_pos * 7);