diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-10-17 14:31:35 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-13 00:00:28 +0100 |
commit | 27487944eff721ef8e310db1a2a52329d9377f71 (patch) | |
tree | 0c3323793dfa8cac89a0f4ab413bbd935eba7dcc /doc/examples/filter_audio.c | |
parent | 51f76e4e932ebdce8ccf6cf0797651d632cfc3e2 (diff) | |
download | ffmpeg-27487944eff721ef8e310db1a2a52329d9377f71.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 'doc/examples/filter_audio.c')
0 files changed, 0 insertions, 0 deletions