On Sat, Nov 18, 2017 at 2:44 AM, Michael Niedermayer <michael at niedermayer.cc > wrote: > > this would skip the code for wrap_bits >= 63, this does not look > correct > Why do you think that's incorrect? The max int64_t value is 1 << 63 and 2 << 63 == 1 << 64 ? - dale