[Ffmpeg-devel] [RFC] bytestream show and change

Michael Niedermayer michaelni
Thu Jan 4 21:57:57 CET 2007


Hi

On Thu, Jan 04, 2007 at 06:28:21PM +0000, M?ns Rullg?rd wrote:
> Alex Beregszaszi <alex at fsn.hu> writes:
> 
> > Hi,
> >
> >> > Since we have bytestream_put and _get which changes the pointer every
> >> > time, anyone against _change and _show which does the same, but without
> >> > advancing the pointer?
> >> 
> >> are they needed for any code? if no theres no sense in adding them
> >> currently, also i dont like redundancy (LE/BE* / bytestream_show())
> >
> > I'm doing some code, which needs this. Currently it has LES_8/16/32 for
> > writing such values, and LE_8/16/32 for reading.
> >
> > Which is better, adding LES_ or extending bytestream_ and replacing all
> > LE_ occurances too?
> 
> Do not add anything with generic names like LE_*.

what about
AV_<L|B><R|W><2|4|8> ?

so that for example AV_BW4 would be a big endian 32bit write ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070104/1c77ca86/attachment.pgp>



More information about the ffmpeg-devel mailing list