diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-08 01:59:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-04 01:02:03 +0100 |
commit | f65e396aa13925f125c320895d4b9eda241fbba6 (patch) | |
tree | 0f66fdb3e224c3318acd3aaf6569d2ddd51feac7 /libavcodec/vb.c | |
parent | 115d88c4b218a2659a5ed9437407ddeda0a7e32e (diff) | |
download | ffmpeg-f65e396aa13925f125c320895d4b9eda241fbba6.tar.gz |
crc: fix signed overflow
This fixes a signed overflow from i << 24 when i == 255 by
making i unsigned. The result of the shift is already
assigned to an variable of unsigned type.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 8b19ae07616bbd18969b94cbf5d74308a8f2bbdf)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vb.c')
0 files changed, 0 insertions, 0 deletions