[NUT-devel] Another suggestion for broadcast [PATCH]
michaelni at gmx.at
Mon Feb 11 15:51:34 CET 2008
On Sun, Feb 10, 2008 at 10:26:10PM -0500, Rich Felker wrote:
> On Mon, Feb 11, 2008 at 03:16:26AM +0100, Michael Niedermayer wrote:
> > ok, ill add a
> > main_flags v
> > to the main header
> I assume this is in the reserved bytes of main header?
yes, old demuxers would see it that way. For new ones its before
the reserved bytes.
> > and use
> > if(main_flags & WHATEVER)
> > buffer_fullness v
> > in case we agree on the buffer_fullness field
> > I think we dont need the "if(bytes remaining in the syncpoint)"
> > then anymore
> I suppose not. Would you be happier considering files with the flag in
> the main header, but with missing buffer field(s) in syncpoints, as
> corrupt/broken files?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the NUT-devel