Closed GoogleCodeExporter closed 9 years ago
> Proposal: add a decoder option that prohibits the use of VCD_TARGET as the
> source window type. If this option were enabled and a delta window
> containing the VCD_TARGET flag were passed to the decoder, it would fail
> with a decoding error.
How is this any different/better than simply telling the decoder not to support
VCD_TARGET and failing if it sees a VCD_TARGET-coded window?
Original comment by josh.mac...@gmail.com
on 12 Sep 2008 at 1:14
> > Proposal: add a decoder option that prohibits the use of VCD_TARGET as the
> > source window type. If this option were enabled and a delta window
> > containing the VCD_TARGET flag were passed to the decoder, it would fail
> > with a decoding error.
> How is this any different/better than simply telling the decoder not to
support
> VCD_TARGET and failing if it sees a VCD_TARGET-coded window?
I believe we are talking about the same thing: adding a flag to the
VCDiffStreamingDecoder object that causes it to fail if it sees VCD_TARGET in
the
source specification. I am not proposing changing the VCDIFF format.
Original comment by openvcd...@gmail.com
on 12 Sep 2008 at 3:12
Implemented in open-vcdiff version 0.6. Added a new interface
VCStreamingDecoder::SetAllowVcdTarget to control whether the VCD_TARGET flag
may be
used. The default value is true. Setting the option to false allows the
decoder to
reclaim some of the memory used to store decoded target windows prior to the
current
one. If this option is set to false and the decoder finds a VCD_TARGET flag,
it will
issue an error and refuse to continue decoding.
The executable "vcdiff" has a corresponding command-line flag
--allow_vcd_target=false.
Original comment by openvcd...@gmail.com
on 9 Apr 2009 at 7:29
Original issue reported on code.google.com by
openvcd...@gmail.com
on 11 Sep 2008 at 11:24