[FFmpeg-devel] [PATCH] lavu: Add RIPEMD hashing

James Almer jamrial at gmail.com
Sat Jun 15 21:18:15 CEST 2013


On 15/06/13 6:21 AM, Michael Niedermayer wrote:
>> +static uint32_t rol(uint32_t value, uint32_t bits) {
>> +    return (value << bits) | (value >> (32 - bits));
>> +}
> 
> 
> should be always_inline as its just 1 instruction on many architectures
> 
> also, if you plan to maintain this in the future you should add
> yourself to MAINTAINERS for this

Added myself to MAINTAINERS, made rol() a #define to be used inside the transform 
functions and pushed to my public repo alongside the other patches.

Regards.


More information about the ffmpeg-devel mailing list