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

matthieu castet castet.matthieu
Mon Aug 24 21:43:53 CEST 2009


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.


Matthieu



-------------- next part --------------
A non-text attachment was scrubbed...
Name: put_bits_long.diff
Type: text/x-diff
Size: 4302 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090824/cb954fa1/attachment.diff>



More information about the ffmpeg-devel mailing list