[MPlayer-dev-eng] MPCF Draft/Discussion (MPlayer ContainerFormat)

Arpi arpi at thot.banki.hu
Fri Feb 7 21:24:03 CET 2003


Hi,

> > > - maybe there is no simple better way, but if 1 bit is broken in
> > > the forward/backward pointer, that can't be detected to well, and a clever
> > > demuxer will crash than imho
> > why?! if the ptr is wrong it will point to random data, so the backward 
> > pointer there wont point back, its detectable
> 
> Does this mean that
> 
> 1. all pointers are absolute, or
> 2. pointers are relative and backward pointer is implicitelly negative

i think it's the 2.

and they are not even pointers in reality, but teh sizes of frames together
with the frame header bytes.

so the stream looks like:

0
size1 (size of frame1 including header)
frame1

size1
size2
frame2

size2
size3
frame3

..

andit also means tat you don't need to code teh frame length since it's
equal to fwd pointer - header size...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino


More information about the MPlayer-dev-eng mailing list