aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ircamdec.c
diff options
context:
space:
mode:
authorDale Curtis <dalecurtis@chromium.org>2017-11-17 13:35:56 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2018-01-08 23:19:14 +0100
commitfc3e4c9ab300caa0bf8d95ae6c3fed8a22d488b0 (patch)
treeb9b6c782d5bb927328237d6c80d7c44ec469ba3c /libavformat/ircamdec.c
parent50dd0e43af843e112ad95f786a783d6cbeecbd96 (diff)
downloadffmpeg-fc3e4c9ab300caa0bf8d95ae6c3fed8a22d488b0.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/ircamdec.c')
0 files changed, 0 insertions, 0 deletions