[FFmpeg-devel] [PATCH] lavc/ccaption_dec: simplify parity check

Derek Buitenhuis derek.buitenhuis at gmail.com
Sun Jan 3 18:43:26 CET 2016


On 1/3/2016 5:33 PM, Clément Bœsch wrote:
> +    return (0x6996966996696996ULL >> (x & 63) ^ (x>>7) ^ (x>>6)) & 1;

I mean, I see how it works, but it's incredibly non-obvious without the
patch context (table removal).

- Derek


More information about the ffmpeg-devel mailing list