[FFmpeg-devel] [PATCH] add put_bits_long to avoid undefined behaviour in put_bits

Michael Niedermayer michaelni
Wed Aug 26 16:37:52 CEST 2009


On Mon, Aug 24, 2009 at 09:43:53PM +0200, matthieu castet wrote:
> Hi,
>
>>> +    else{
>> should have {} for simplicity of future patches
>>> +}
>>> +
>>>  /**
>>>   * Returns the pointer to the byte where the bitstream writer will put
>>>   * the next bit.
>> tabs are forbidden in svn
>
> Done in the attached patch.

looks ok (assuming tested of course)

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

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090826/78d51617/attachment.pgp>



More information about the ffmpeg-devel mailing list