[Ffmpeg-cvslog] r6874 - in trunk/libavcodec: Makefile allcodecs.c avcodec.h bytestream.h gif.c

Baptiste Coudurier baptiste.coudurier
Fri Nov 3 12:47:05 CET 2006


Hi

Alex Beregszaszi wrote:
> Hi,
> 
>> +static always_inline void bytestream_put_le32(uint8_t **b, const
>> unsigned int value) +{
>> +    *(*b)++ = value;
>> +    *(*b)++ = value >> 8;
>> +    *(*b)++ = value >> 16;
>> +    *(*b)++ = value >> 24;
>> +}
>> +
>> +static always_inline void bytestream_put_le16(uint8_t **b, const
>> unsigned int value) +{
>> +    *(*b)++ = value;
>> +    *(*b)++ = value >> 8;
>> +}
>> +
>> +static always_inline void bytestream_put_byte(uint8_t **b, const
>> unsigned int value) +{
>> +    *(*b)++ = value;
>> +}
>> +
>> +static always_inline void bytestream_put_buffer(uint8_t **b, const
>> uint8_t *src, unsigned int size) +{
>> +    memcpy(*b, src, size);
>> +    (*b) += size;
>> +}
> 
> Put_buffer isnt incosistent with the rest?
> 

Do you mean const before unsigned ? If so, yes it seems. I'll change it.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list