aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/simple_idct.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-07-08 14:57:07 -0700
committerMichael Niedermayer <michaelni@gmx.at>2011-07-11 03:51:46 +0200
commit93a10dd56121862fab13aa6676227673c534cc12 (patch)
treea6a58a6510b73c59596531457a61da46410dad71 /libavcodec/simple_idct.h
parent71a04bc19dfb990d3f7cce82b5516e88d2c371f4 (diff)
downloadffmpeg-93a10dd56121862fab13aa6676227673c534cc12.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/simple_idct.h')
0 files changed, 0 insertions, 0 deletions