[MPlayer-dev-eng] NUT cleanup

Rich Felker dalias at aerifal.cx
Sun Sep 4 05:11:02 CEST 2005


On Sun, Sep 04, 2005 at 04:20:52AM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Sat, Sep 03, 2005 at 07:51:19PM -0400, Rich Felker wrote:
> [...]
> > > > 3. In the audio stream header, we have a channel count.. is this
        [...]
> > > hmm, my first thought about this is yes, its usefull because when you
> > > streamcopy from nut to some other container then the number of channels 
> > > will often be needed
> > 
> > Hmm, undecided then?
> 
> iam leaning more toward keeping it

ok.

> > > > 4. Index. There's no pointer at the end of the file pointing back to
> > > >    the beginning of the index, so you have to keep seeking back and
> > > >    searching (without bound) for the index startcode. I'd propose
> > > >    either an end-of-index startcode followed by a vlc-coded
> > > >    backpointer to the index, or a reverse-vlc-coded backpointer at the
> > > >    end of the index.
> > > 
> > > hmm, somehow i think simply writing a 64bit int at the end
> > > would be the simplest, its even shorter then a startcode + vlc :)
> > 
> > Yes but it's rather bleh.. I hate fixed-size fields, even tho index
> > size would never be bigger than 24 bits anyway. What about a vlc
> > written in reverse byte order?
> 
> more complex

anyone else have opinions?

rich




More information about the MPlayer-dev-eng mailing list