aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264idct_template.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-07-08 14:57:07 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-08 15:15:30 -0700
commit7d7bacf0f1f43f5cc112977fc3b8438e3e4a4a9b (patch)
tree522858daab38897c92fde6edd506c883177c8e8d /libavcodec/h264idct_template.c
parentbf2cba453244a74331238a472fe0e309f116f4d9 (diff)
downloadffmpeg-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