[FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.
Dale Curtis
dalecurtis at chromium.org
Wed Nov 22 20:56:07 EET 2017
On Tue, Nov 21, 2017 at 7:05 PM, Michael Niedermayer <michael at niedermayer.cc
> wrote:
>
> I dont think wrap_bits can/should be > 64 or do i miss something ?
>
Good point, this seems true with the current code.
>
> maybe a av_assert* for that would be better.
>
Done; used av_assert2().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrap_bits_v5.patch
Type: application/octet-stream
Size: 1839 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171122/135d7d6d/attachment.obj>
More information about the ffmpeg-devel
mailing list