The R Project SVN R

Rev

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

Rev 53508 Rev 55994
Line 278... Line 278...
278
 
278
 
279
		next->code = &stream_encode;
279
		next->code = &stream_encode;
280
		next->end = &stream_encoder_end;
280
		next->end = &stream_encoder_end;
281
		next->update = &stream_encoder_update;
281
		next->update = &stream_encoder_update;
282
 
282
 
-
 
283
		next->coder->filters[0].id = LZMA_VLI_UNKNOWN;
283
		next->coder->block_encoder = LZMA_NEXT_CODER_INIT;
284
		next->coder->block_encoder = LZMA_NEXT_CODER_INIT;
284
		next->coder->index_encoder = LZMA_NEXT_CODER_INIT;
285
		next->coder->index_encoder = LZMA_NEXT_CODER_INIT;
285
		next->coder->index = NULL;
286
		next->coder->index = NULL;
286
	}
287
	}
287
 
288
 
288
	// Basic initializations
289
	// Basic initializations
289
	next->coder->sequence = SEQ_STREAM_HEADER;
290
	next->coder->sequence = SEQ_STREAM_HEADER;
290
	next->coder->block_options.version = 0;
291
	next->coder->block_options.version = 0;
291
	next->coder->block_options.check = check;
292
	next->coder->block_options.check = check;
292
	next->coder->filters[0].id = LZMA_VLI_UNKNOWN;
-
 
293
 
293
 
294
	// Initialize the Index
294
	// Initialize the Index
295
	lzma_index_end(next->coder->index, allocator);
295
	lzma_index_end(next->coder->index, allocator);
296
	next->coder->index = lzma_index_init(allocator);
296
	next->coder->index = lzma_index_init(allocator);
297
	if (next->coder->index == NULL)
297
	if (next->coder->index == NULL)