[MPlayer-dev-eng] Patches for NUT
Rich Felker
dalias at aerifal.cx
Sat Feb 11 08:47:49 CET 2006
On Sat, Feb 11, 2006 at 07:59:57AM +0200, Oded Shimon wrote:
> > > One more issue - now that index does not mark EOF as it can appear
> > > anywhere, the index_ptr comes out of nowhere, the demuxer can even mistake
> > > it for being a frame startcode (It could even appear as a NUT startcode!).
> > > So I suggest making a end_startcode before the index_ptr...
> >
> > just put index_ptr into the index, right before the checksum
>
> That's.. a bit odd... Will all indexes have an index_ptr? Or only the one
> at EOF?
For simplicity, all should. All copies of the index should be
binary-identical anyway, so if the index_ptr is part of the index
packet, it must always be there.
> Also it makes it impossible to add reserved bytes in the index.
No it doesn't. The additional space just goes before the index_ptr
rather than after it.
Rich
More information about the MPlayer-dev-eng
mailing list