aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.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-31 22:56:14 +0100
commit2543475730b9c6fcbfe9b0575f959d9c3015a50c (patch)
tree37cb4ed8b2c7744ec28ae23f7e6e3b7f1067c4cb /cmdutils.c
parentcf32c814ed1fc4e3c9e50c85e120b17c59dd6a69 (diff)
downloadffmpeg-2543475730b9c6fcbfe9b0575f959d9c3015a50c.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 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions