diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-10-17 14:31:35 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-10-18 16:15:10 +0100 |
commit | fc1eda543c6ef043300612db90da5cfd972af650 (patch) | |
tree | 2bfac38707aabad2408f2b25ebc47d79cc69ab4d /libavcodec/bgmc.h | |
parent | b7c77912b62163b3b46ce93fe42fff3c83604c82 (diff) | |
download | ffmpeg-fc1eda543c6ef043300612db90da5cfd972af650.tar.gz |
swscale: fix sign extensions in yuv planar conversion
Casting the left-most byte to unsigned avoids an undefined
result of the shift by 24 if bit 7 is set.
yuvPlanartouyvy_c and yuvPlanartoyuy2_c are affected.
CC: libav-stable@libav.org
Bug-Id: CID 732281 / CID 732282
Diffstat (limited to 'libavcodec/bgmc.h')
0 files changed, 0 insertions, 0 deletions