aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tiertexseq.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2017-11-17 13:35:56 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-12-30 21:11:32 +0100
commit85ea121684a7b128c39373845506e6016daa60cc (patch)
treea935768f741ab307684fd6719d6ac0f745c563e6 /libavformat/tiertexseq.c
parent79ec6381151c0db5619555cc2d75988d8f8805f6 (diff)
downloadffmpeg-85ea121684a7b128c39373845506e6016daa60cc.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> (cherry picked from commit 03fbc0daa7e37af024f8b017a28105c32bbe25ca) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/tiertexseq.c')
0 files changed, 0 insertions, 0 deletions