diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-08 01:59:51 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-18 17:50:35 +0100 |
commit | 5e3ba60e6f6a949e030d479cb4bcd8dd63b76a5d (patch) | |
tree | f87796ba6b32bc049953daeee6573d1bcbcd689c /libavcodec/truemotion2.c | |
parent | 48f9a800722736c9fd1ed37562a8760417f8f221 (diff) | |
download | ffmpeg-5e3ba60e6f6a949e030d479cb4bcd8dd63b76a5d.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: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/truemotion2.c')
0 files changed, 0 insertions, 0 deletions