summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r--xdelta3/xdelta3-main.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index c56bead..6dc6f4b 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -2465,7 +2465,8 @@ main_input (xd3_cmd cmd,
2465 xoff_t last_total_out = 0; 2465 xoff_t last_total_out = 0;
2466 long start_time; 2466 long start_time;
2467 int stdout_only = 0; 2467 int stdout_only = 0;
2468 2468 int recode_flags;
2469 xd3_config recode_config;
2469 int (*input_func) (xd3_stream*); 2470 int (*input_func) (xd3_stream*);
2470 int (*output_func) (xd3_stream*, main_file *); 2471 int (*output_func) (xd3_stream*, main_file *);
2471 2472
@@ -2533,14 +2534,13 @@ main_input (xd3_cmd cmd,
2533 XD3_ASSERT (recode_stream == NULL); 2534 XD3_ASSERT (recode_stream == NULL);
2534 recode_stream = (xd3_stream*) main_malloc(sizeof(xd3_stream)); 2535 recode_stream = (xd3_stream*) main_malloc(sizeof(xd3_stream));
2535 2536
2536 int recode_flags = (stream_flags & XD3_SEC_TYPE); 2537 recode_flags = (stream_flags & XD3_SEC_TYPE);
2537 // TODO: what about sec_xxxx.ngroups = 1?
2538
2539 xd3_config recode_config;
2540 xd3_init_config(&recode_config, recode_flags); 2538 xd3_init_config(&recode_config, recode_flags);
2541 2539
2542 recode_config.alloc = main_alloc; 2540 recode_config.alloc = main_alloc;
2543 recode_config.freef = main_free1; 2541 recode_config.freef = main_free1;
2542
2543 // TODO: what about sec_xxxx.ngroups = 1?
2544 recode_config.sec_data.ngroups = 1; 2544 recode_config.sec_data.ngroups = 1;
2545 recode_config.sec_addr.ngroups = 1; 2545 recode_config.sec_addr.ngroups = 1;
2546 recode_config.sec_inst.ngroups = 1; 2546 recode_config.sec_inst.ngroups = 1;