[FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.

Dale Curtis dalecurtis at chromium.org
Fri Nov 17 23:38:42 EET 2017

2 << (wrap_bits=64 - 1) does not fit in int64_t; apply the check
used in other places that handle wrap bits to ensure the values
are <= 63.

Signed-off-by: Dale Curtis <dalecurtis at chromium.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrap_bits_v1.patch
Type: text/x-patch
Size: 1536 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171117/88dfa548/attachment.bin>

More information about the ffmpeg-devel mailing list