aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/diracdsp.h
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2017-11-17 13:35:56 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-11-24 19:03:03 +0100
commit03fbc0daa7e37af024f8b017a28105c32bbe25ca (patch)
tree6d253908968c56b46fd041c76ea0f4d05ca84c47 /libavcodec/diracdsp.h
parent63826a0b8288c464ef665bb140451f229cfae518 (diff)
downloadffmpeg-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 'libavcodec/diracdsp.h')
0 files changed, 0 insertions, 0 deletions