[NUT-devel] flags cleanup

Michael Niedermayer michaelni at gmx.at
Sat Mar 18 13:10:58 CET 2006


Hi

On Sat, Mar 18, 2006 at 01:39:57PM +0200, Oded Shimon wrote:
> On Sat, Mar 18, 2006 at 12:21:26PM +0100, Michael Niedermayer wrote:
> > Hi
> > 
> > attached patch changes various things in the frame header from
> >     if(strem_id_plus_1 == 0)
> >         stream_id               v
> > style, to
> >     if(flags & FLAG_STREAM_ID)
> >         stream_id               v
> > 
> > the advantage is that flags themselfs can be stored in the frame header
> 
> I'm OK with patch...
> 
> > +       4  FLAG_CODED_PTS   if set, coded_pts is in the frame header
> > +       8  FLAG_RESERVED    if set, reserved_count is coded in the frame header
> 
> Seeing as we are completely out of 1st-byte flags, any chance we can push 
> FLAG_RESERVED to 2nd byte? It has no real practical usefulness...

ok

[...]
-- 
Michael




More information about the NUT-devel mailing list