On 18.10.2014, at 22:53, g...@videolan.org (Luca Barbato) wrote:
> 
> static av_always_inline int even(uint64_t layout)
> {
> -    return (!layout || (layout & (layout - 1)));
> +    return (!layout || !!(layout & (layout - 1)));

Sorry, I feel stupid.
Can someone help me, why does this make any difference?
_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to