diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-08 14:57:07 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-08 15:15:30 -0700 |
commit | 7d7bacf0f1f43f5cc112977fc3b8438e3e4a4a9b (patch) | |
tree | 522858daab38897c92fde6edd506c883177c8e8d /libavcodec/h264idct_template.c | |
parent | bf2cba453244a74331238a472fe0e309f116f4d9 (diff) | |
download | ffmpeg-7d7bacf0f1f43f5cc112977fc3b8438e3e4a4a9b.tar.gz |
swscale: fix overflow in 16-bit vertical scaling.
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.
Diffstat (limited to 'libavcodec/h264idct_template.c')
0 files changed, 0 insertions, 0 deletions