[FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.

Dale Curtis dalecurtis at chromium.org
Mon Nov 20 22:05:05 EET 2017


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


More information about the ffmpeg-devel mailing list