[NUT-devel] Suggestions [PATCH]

Oded Shimon ods15 at ods15.dyndns.org
Wed Mar 1 15:02:59 CET 2006


On Tue, Feb 28, 2006 at 10:34:22PM +0100, Michael Niedermayer wrote:
> 3. split index
> simplification for lavf muxer
>     currently we just write the data out seek back and update the forward
>     pointer, this is safe as long as the packet is < the io buffer size in
>     lavf, if its larger we need to alloc&realloc a buffer and work within that
>     or do 2 passes to find the forward ptr value, both are more messy

BTW, just wanted to note, you DO know that vorbis headers are usually ~4kb 
and can actually be any arbitrary size, so the stream headers and just 
about any nut packet can be any arbitrary size... So you need to support it 
anyway, regardless of index...

- ods15




More information about the NUT-devel mailing list