diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2017-11-17 13:35:56 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-24 19:03:03 +0100 |
commit | 03fbc0daa7e37af024f8b017a28105c32bbe25ca (patch) | |
tree | 6d253908968c56b46fd041c76ea0f4d05ca84c47 /libswscale/x86 | |
parent | 63826a0b8288c464ef665bb140451f229cfae518 (diff) | |
download | ffmpeg-03fbc0daa7e37af024f8b017a28105c32bbe25ca.tar.gz |
avformat/utils: Prevent undefined shift with wrap_bits > 64.
2LL << (wrap_bits=64 - 1) does not fit in int64_t; change the
code to use a uint64_t (2ULL) and add an av_assert2() to
ensure wrap_bits <= 64.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/x86')
0 files changed, 0 insertions, 0 deletions