aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_realtime.c
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 /libavfilter/f_realtime.c
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 'libavfilter/f_realtime.c')
0 files changed, 0 insertions, 0 deletions