On Mon, 14 Apr 2003, Anton Altaparmakov wrote:
> > 2) I can't see the point checking for LCN_RL_NOT_MAPPED in
> > do_partial/do_final. If earlier a same is found then it's
> > error however in do_partial/do_final it's OK?
>
> Not sure what you mean. Look at what index to rl[] is being used. It is
> only a sanity check to make sure that either the run list is finished at
> the next element (rl[1])
Yes, this part is right.
> or if it is not finished then, it is allowed to be an
> unmapped/unallocated element (rl[1])
This is what I was confused. I thought decompress_mapping_pairs() can't
return LCN_RL_NOT_MAPPED but now I cheked and it can. So it's OK.
Szaka
|