[NUT-devel] Suggestions [PATCH]

Oded Shimon ods15 at ods15.dyndns.org
Sun Mar 5 08:19:34 CET 2006


On Wed, Mar 01, 2006 at 06:15:44AM +0200, Oded Shimon wrote:
> On Tue, Feb 28, 2006 at 10:34:22PM +0100, Michael Niedermayer wrote:
> > +note, demuxers MUST be able to deal with new and unknown headers
> 
> One thing about this, what if the forward_ptr of this unkown header is 
> 100mb and you just lost half the file... Oh, just noticed, even new headers 
> have checksums, ok then...

Actually, I still have an issue with this... By a single byte of damage 
('N') you can cause either the player to skip the entire file, or to have 
to cache arbitrary amount of MB of the file, or to seek back.. Am I missing 
something here? (You have to read all the data at least once to see that 
the checksum is bogus, and by then you have either skipped 700mb or you you 
cached it)

- ods15




More information about the NUT-devel mailing list