[MPlayer-dev-eng] [PATCH] ppc fix for realvideo in mkv

Rich Felker dalias at aerifal.cx
Thu Mar 23 00:10:38 CET 2006


On Wed, Mar 22, 2006 at 08:01:34PM +0100, Moritz Bunkus wrote:
> Hey,
> 
> On Wednesday 22 March 2006 19:31, Rich Felker wrote:
> 
> > No, extradata is considered binary data. It's not ok for the demuxer
> > to rewrite it for byte order. If such a hack is needed it belongs in
> > the realvideo decoder module.
> 
> We're not talking about codec extradata here. In this case the frames
> have to contain an offset table in machine order which is ALSO present
> right at the start of the frame itself in little endian (don't ask me
> why, it's the way it is with the RealVideo decoder). In Matroska this
> extra table is not present while it IS present in RMFF files. Therefore
> it's OK for the Matroska demuxer to rebuild the table on the fly.

Ah, well there's still no reason for it to be machine-order specific.
If the code is written correctly (to write it as _bytes_!!) then there
is no endian issue.

Rich




More information about the MPlayer-dev-eng mailing list