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

Måns Rullgård mru
Thu Jan 4 19:28:21 CET 2007


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_*.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list