[MPlayer-dev-eng] Repeating items in Nut

Ville Saari 114263 at foo.bar.org
Mon Apr 26 02:24:21 CEST 2004


On Sun, Apr 25, 2004 at 01:53:52PM +0200, Michael Niedermayer wrote:

> 2. if the entries are variable size and somewhat unrelated, the count doesnt 
> simplify the demuxer as it very likely wont simply store them in an array
> but more likely in specific data structures

Even if the data structures are variable size, the demuxer might want
to allocate an array of pointers to the structures, so knowing the count
in advance is still useful.

> the same time it will complicate the muxer though because if our
> assumetation  of the data structures is correct it will be more difficult
> to find the count

It has to find it anyway, because the size of the containing packet
depends on the count and size of the items and the packet size is needed
for the forward pointer.

-- 
 Ville




More information about the MPlayer-dev-eng mailing list