>On 9/29/17, 7:36 AM, "James Almer" <jamr...@gmail.com> wrote:
>>  
>> +static inline uint16_t parity (uint16_t x)
>> +{
>> +    uint16_t i;
>> +    for (i = 4 * sizeof (x); i > 0; i /= 2)
>> +        x ^= x >> i;
>> +    return x & 1;
>> +}
>
>Can't you use av_parity() instead?

Yes, I can. Thanks for pointing it out. But that patch has been submitted 
already. Hence, I have attached a fresh patch with this suggested change.

Regards,
Karthick

Attachment: 0001-avdevice-decklink_dec-Used-av_parity-instead-of-dupl.patch
Description: 0001-avdevice-decklink_dec-Used-av_parity-instead-of-dupl.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to